diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-08-16 18:52:26 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-08-16 19:15:03 +0200 |
| commit | 9462fb17b390c57846b9215217ca7c32b649f0a5 (patch) | |
| tree | bd6f96fea83c5e757c8f0eefefe5c0347784f00b /src/library/layout.rs | |
| parent | cb0aab3cfab2122a87d1d221290f7178b4291758 (diff) | |
Convert single-field structs to tuple structs
Diffstat (limited to 'src/library/layout.rs')
| -rw-r--r-- | src/library/layout.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/layout.rs b/src/library/layout.rs index 20673c4a..977b3153 100644 --- a/src/library/layout.rs +++ b/src/library/layout.rs @@ -27,7 +27,7 @@ pub fn page(_: &mut EvalContext, args: &mut Arguments) -> TypResult<Value> { let state = ctx.state.page_mut(); if let Some(paper) = paper { - state.class = paper.class; + state.class = paper.class(); state.size = paper.size(); } |
