diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-04-04 23:15:03 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-04-04 23:15:03 +0200 |
| commit | 23715e813e1888c8c317ec2f9649d0f1ad46bd8c (patch) | |
| tree | 19e023514700cb9ec69285cafe658964aec4ee60 /library/src/math | |
| parent | f347ed4314e32383dc09ff234180e8ea6fef7b8b (diff) | |
Refactor and document figures
Diffstat (limited to 'library/src/math')
| -rw-r--r-- | library/src/math/mod.rs | 3 |
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()) } } |
