diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-03-08 10:54:04 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-03-08 11:02:27 +0100 |
| commit | e5eab73374880077971f3f22acbdd3d302877128 (patch) | |
| tree | 07aa926b27032d6bcd82486d664dfd4161ccbd3e /library/src/math/attach.rs | |
| parent | 1b2b53ecb91a9bd7fb3493e471ae03cd142a7c03 (diff) | |
Streamline field names
Diffstat (limited to 'library/src/math/attach.rs')
| -rw-r--r-- | library/src/math/attach.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/src/math/attach.rs b/library/src/math/attach.rs index 9181ab7c..7ba1484a 100644 --- a/library/src/math/attach.rs +++ b/library/src/math/attach.rs @@ -79,12 +79,12 @@ pub struct ScriptsNode { /// The base to attach the scripts to. #[positional] #[required] - pub base: Content, + pub body: Content, } impl LayoutMath for ScriptsNode { fn layout_math(&self, ctx: &mut MathContext) -> SourceResult<()> { - self.base().layout_math(ctx) + self.body().layout_math(ctx) } } @@ -102,12 +102,12 @@ pub struct LimitsNode { /// The base to attach the limits to. #[positional] #[required] - pub base: Content, + pub body: Content, } impl LayoutMath for LimitsNode { fn layout_math(&self, ctx: &mut MathContext) -> SourceResult<()> { - self.base().layout_math(ctx) + self.body().layout_math(ctx) } } |
