summaryrefslogtreecommitdiff
path: root/library/src
diff options
context:
space:
mode:
Diffstat (limited to 'library/src')
-rw-r--r--library/src/meta/counter.rs4
-rw-r--r--library/src/meta/reference.rs2
2 files changed, 3 insertions, 3 deletions
diff --git a/library/src/meta/counter.rs b/library/src/meta/counter.rs
index 4825bc65..9a223b32 100644
--- a/library/src/meta/counter.rs
+++ b/library/src/meta/counter.rs
@@ -634,8 +634,8 @@ impl Show for DisplayElem {
.numbering()
.or_else(|| {
let CounterKey::Selector(Selector::Elem(func, _)) = counter.0 else {
- return None;
- };
+ return None;
+ };
if func == HeadingElem::func() {
HeadingElem::numbering_in(styles)
diff --git a/library/src/meta/reference.rs b/library/src/meta/reference.rs
index c39f8ca0..5bd04431 100644
--- a/library/src/meta/reference.rs
+++ b/library/src/meta/reference.rs
@@ -189,7 +189,7 @@ impl Show for RefElem {
)
})
.hint(eco_format!(
- "you can enable heading numbering with `#set {}(numbering: \"1.\")`?",
+ "you can enable heading numbering with `#set {}(numbering: \"1.\")`",
elem.func().name()
))
.at(span)?;