diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-03-17 14:47:11 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-03-17 14:47:11 +0100 |
| commit | 271b0f953b35ab2c0281b5f728798204accc412f (patch) | |
| tree | fccfe3a0694eb2a84652ab541c08a438334fda60 /src/paper.rs | |
| parent | ceb00a2e779ce17b75fd996b4e5f48ab543a1e63 (diff) | |
Fixes in TextMate grammar ✅
Diffstat (limited to 'src/paper.rs')
| -rw-r--r-- | src/paper.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/paper.rs b/src/paper.rs index bbe07803..58d87be1 100644 --- a/src/paper.rs +++ b/src/paper.rs @@ -39,7 +39,7 @@ impl PaperClass { /// The default margins for this page class. pub fn default_margins(self) -> Sides<Linear> { let f = |r| Relative::new(r).into(); - let s = |l, r, t, b| Sides::new(f(l), f(r), f(t), f(b)); + let s = |l, t, r, b| Sides::new(f(l), f(t), f(r), f(b)); match self { Self::Custom => s(0.1190, 0.0842, 0.1190, 0.0842), Self::Base => s(0.1190, 0.0842, 0.1190, 0.0842), |
