summaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-11-19 19:13:54 +0100
committerLaurenz <laurmaedje@gmail.com>2023-11-19 19:14:11 +0100
commitb479be8e9e31191623df41702bbc3ad96d5b4ebe (patch)
treebffe7e2b615e7020508120d3284bbcb4dd7c50d8 /crates
parentc641044380652e097ffc85d3e66873b0364ee070 (diff)
Fix docs
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>,