diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-01-10 21:38:58 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-01-10 21:38:58 +0100 |
| commit | 105cda0e698fe86266d706f4e3bacc081e65c2aa (patch) | |
| tree | 9ff20ef75ad5a7107b6169e983594993a408ea3b /src/library/style.rs | |
| parent | 3c7d249ae4c4c76e7f8bac4cc4313b877610c60b (diff) | |
Braced content -> Bracketed templates ✏
Diffstat (limited to 'src/library/style.rs')
| -rw-r--r-- | src/library/style.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/style.rs b/src/library/style.rs index 3bdcdfd4..7b2772cc 100644 --- a/src/library/style.rs +++ b/src/library/style.rs @@ -95,7 +95,7 @@ pub fn font(ctx: &mut EvalContext, args: &mut Args) -> Value { } } - if let Some(body) = args.find::<ValueContent>(ctx) { + if let Some(body) = args.find::<ValueTemplate>(ctx) { body.eval(ctx); ctx.state = snapshot; } |
