From 23715e813e1888c8c317ec2f9649d0f1ad46bd8c Mon Sep 17 00:00:00 2001 From: Laurenz Date: Tue, 4 Apr 2023 23:15:03 +0200 Subject: Refactor and document figures --- library/src/math/mod.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'library/src/math') 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()) } } -- cgit v1.2.3