summaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
Diffstat (limited to 'crates')
-rw-r--r--crates/typst/src/introspection/here.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/typst/src/introspection/here.rs b/crates/typst/src/introspection/here.rs
index e921079b..9d613381 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