From 790dc9e6670b0d90c9ff68a0981cdbfb7d9c536a Mon Sep 17 00:00:00 2001 From: Laurenz Date: Fri, 12 Feb 2021 22:55:26 +0100 Subject: =?UTF-8?q?Cleaning=20=F0=9F=A7=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/exec/mod.rs | 4 ++-- src/exec/state.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/exec') 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, - /// 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>, } -- cgit v1.2.3