summaryrefslogtreecommitdiff
path: root/library/src/math
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-04-04 23:15:03 +0200
committerLaurenz <laurmaedje@gmail.com>2023-04-04 23:15:03 +0200
commit23715e813e1888c8c317ec2f9649d0f1ad46bd8c (patch)
tree19e023514700cb9ec69285cafe658964aec4ee60 /library/src/math
parentf347ed4314e32383dc09ff234180e8ea6fef7b8b (diff)
Refactor and document figures
Diffstat (limited to 'library/src/math')
-rw-r--r--library/src/math/mod.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/library/src/math/mod.rs b/library/src/math/mod.rs
index b07fc78f..db066522 100644
--- a/library/src/math/mod.rs
+++ b/library/src/math/mod.rs
@@ -165,7 +165,6 @@ impl Synthesize for EquationElem {
fn synthesize(&mut self, _vt: &mut Vt, styles: StyleChain) -> SourceResult<()> {
self.push_block(self.block(styles));
self.push_numbering(self.numbering(styles));
-
Ok(())
}
}
@@ -317,7 +316,7 @@ impl Refable for EquationElem {
self.numbering(styles)
}
- fn counter(&self, _styles: StyleChain) -> Counter {
+ fn counter(&self, _: StyleChain) -> Counter {
Counter::of(Self::func())
}
}