diff options
| author | Laurenz <laurmaedje@gmail.com> | 2020-01-06 12:50:20 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2020-01-06 12:50:20 +0100 |
| commit | a93b1ab003affb0d72e9da4007b04a2a6cfd4462 (patch) | |
| tree | bdc6f1c14259e7745fa59c7e51d8327ee5df3061 /src/library/mod.rs | |
| parent | 2ee5810fecb96a8d4e0d078faecc8c91096d6881 (diff) | |
Formatting 🛀
Diffstat (limited to 'src/library/mod.rs')
| -rw-r--r-- | src/library/mod.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/library/mod.rs b/src/library/mod.rs index 513590eb..333ba02a 100644 --- a/src/library/mod.rs +++ b/src/library/mod.rs @@ -58,7 +58,7 @@ function! { list: Vec<String>, } - parse(args, body, ctx, meta) { + parse(args, body, ctx) { FontFamilyFunc { body: parse!(optional: body, ctx), list: { @@ -114,7 +114,7 @@ function! { weight: FontWeight, } - parse(args, body, ctx, meta) { + parse(args, body, ctx) { FontWeightFunc { body: parse!(optional: body, ctx), weight: match args.get_pos::<Expression>()? { @@ -195,7 +195,7 @@ function! { } } - layout(self, mut ctx) { + layout(self, ctx) { let mut style = ctx.style.text.clone(); match self.content { ContentKind::Word => style.word_spacing_scale = self.spacing, |
