diff --git a/crates/typst/src/lib.rs b/crates/typst/src/lib.rs index a3f7191ec..9bd0f728e 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 11f95eebd..89cb009c1 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>,