diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-02-12 22:55:26 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-02-12 22:55:26 +0100 |
| commit | 790dc9e6670b0d90c9ff68a0981cdbfb7d9c536a (patch) | |
| tree | af12c6da8b32a0e54c9dfe005b6076d764804d9c /src/exec | |
| parent | a2fcc1bf288c5162de7b2158166de62cb0610083 (diff) | |
Cleaning 🧹
Diffstat (limited to 'src/exec')
| -rw-r--r-- | src/exec/mod.rs | 4 | ||||
| -rw-r--r-- | src/exec/state.rs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/exec/mod.rs b/src/exec/mod.rs index a0ed946d..57fe8138 100644 --- a/src/exec/mod.rs +++ b/src/exec/mod.rs @@ -145,8 +145,8 @@ impl Exec for Value { impl Exec for ValueTemplate { fn exec(&self, ctx: &mut ExecContext) { - for part in self { - part.exec(ctx); + for node in self { + node.exec(ctx); } } } diff --git a/src/exec/state.rs b/src/exec/state.rs index 21fb7fb6..977b0b73 100644 --- a/src/exec/state.rs +++ b/src/exec/state.rs @@ -44,8 +44,8 @@ pub struct PageSettings { pub size: Size, /// Whether the expand the pages to the `size` or to fit the content. pub expand: Spec<Expansion>, - /// The amount of white space in the order [left, top, right, bottom]. If a - /// side is set to `None`, the default for the paper class is used. + /// The amount of white space on each side of the page. If a side is set to + /// `None`, the default for the paper class is used. pub margins: Sides<Option<Linear>>, } |
