diff --git a/crates/typst/src/layout/mod.rs b/crates/typst/src/layout/mod.rs index 85cdbae7a..739d09224 100644 --- a/crates/typst/src/layout/mod.rs +++ b/crates/typst/src/layout/mod.rs @@ -106,7 +106,6 @@ pub fn define(global: &mut Scope) { global.define_elem::(); global.define_elem::(); global.define_elem::(); - global.define_elem::(); global.define_elem::(); global.define_elem::(); global.define_elem::(); diff --git a/crates/typst/src/layout/place.rs b/crates/typst/src/layout/place.rs index 78922c1bb..be211c150 100644 --- a/crates/typst/src/layout/place.rs +++ b/crates/typst/src/layout/place.rs @@ -46,7 +46,7 @@ pub struct PlaceElem { /// Floating elements are positioned at the top or bottom of the page, /// displacing in-flow content. They are always placed in the in-flow /// order relative to each other, as well as before any content following - /// a later [`flush`] element. + /// a later [`place.flush`] element. /// /// ```example /// #set page(height: 150pt)