diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-11-17 21:57:15 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-11-17 23:04:02 +0100 |
| commit | ddb617390cf7150042726742749806eab6b3dd54 (patch) | |
| tree | f102a8ad40e2127215c00c879c80e6432a3e26df /library/src/math | |
| parent | cabd0908e230e451bd9f1394390f8c5deb17182e (diff) | |
Simplify layout_inline's signature
Diffstat (limited to 'library/src/math')
| -rw-r--r-- | library/src/math/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/src/math/mod.rs b/library/src/math/mod.rs index bcf09c04..7772c0af 100644 --- a/library/src/math/mod.rs +++ b/library/src/math/mod.rs @@ -51,8 +51,8 @@ impl LayoutInline for MathNode { world: Tracked<dyn World>, _: &Regions, styles: StyleChain, - ) -> SourceResult<Vec<Frame>> { - Ok(vec![layout_tex(&self.texify(), self.display, world, styles)?]) + ) -> SourceResult<Frame> { + layout_tex(&self.texify(), self.display, world, styles) } } |
