summaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
Diffstat (limited to 'crates')
-rw-r--r--crates/typst/src/lib.rs4
-rw-r--r--crates/typst/src/model/mod.rs2
2 files changed, 3 insertions, 3 deletions
diff --git a/crates/typst/src/lib.rs b/crates/typst/src/lib.rs
index a3f7191e..9bd0f728 100644
--- a/crates/typst/src/lib.rs
+++ b/crates/typst/src/lib.rs
@@ -13,7 +13,7 @@
//! order-independent and thus much better suited for further processing than
//! the raw markup.
//! - **Typesetting:**
-//! Next, the content is [typeset] into a [document] containing one [frame]
+//! Next, the content is [layouted] into a [document] containing one [frame]
//! per page with items at fixed positions.
//! - **Exporting:**
//! These frames can finally be exported into an output format (currently PDF,
@@ -26,7 +26,7 @@
//! [evaluate]: eval::eval
//! [module]: eval::Module
//! [content]: model::Content
-//! [typeset]: model::typeset
+//! [layouted]: model::layout
//! [document]: doc::Document
//! [frame]: doc::Frame
diff --git a/crates/typst/src/model/mod.rs b/crates/typst/src/model/mod.rs
index 11f95eeb..89cb009c 100644
--- a/crates/typst/src/model/mod.rs
+++ b/crates/typst/src/model/mod.rs
@@ -102,7 +102,7 @@ pub fn layout(
/// A virtual typesetter.
///
-/// Holds the state needed to [typeset] content.
+/// Holds the state needed to [layout] content.
pub struct Vt<'a> {
/// The compilation environment.
pub world: Tracked<'a, dyn World + 'a>,