summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crates/typst/src/model/reference.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/typst/src/model/reference.rs b/crates/typst/src/model/reference.rs
index 0cdb5e30..511ca3d9 100644
--- a/crates/typst/src/model/reference.rs
+++ b/crates/typst/src/model/reference.rs
@@ -77,10 +77,10 @@ use crate::text::TextElem;
/// let el = it.element
/// if el != none and el.func() == eq {
/// // Override equation references.
-/// numbering(
+/// link(el.location(),numbering(
/// el.numbering,
/// ..counter(eq).at(el.location())
-/// )
+/// ))
/// } else {
/// // Other references as usual.
/// it