diff --git a/crates/typst/src/introspection/here.rs b/crates/typst/src/introspection/here.rs index e921079b9..9d6133816 100644 --- a/crates/typst/src/introspection/here.rs +++ b/crates/typst/src/introspection/here.rs @@ -20,8 +20,8 @@ use crate::introspection::Location; /// instance, have been reset after a preface. /// /// # Examples -/// Determining the current position in the document in combination with -/// [`locate`]: +/// Determining the current position in the document in combination with the +/// [`position`]($location.position) method: /// ```example /// #context [ /// I am located at