diff options
| author | Laurenz <laurmaedje@gmail.com> | 2019-12-13 14:58:14 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2019-12-13 14:58:14 +0100 |
| commit | 971ff3a2dcff1e68bf7e19017113469aad5a30c2 (patch) | |
| tree | f6776688446f278882947f713401b9a92b8e9384 /src/library/boxed.rs | |
| parent | f549914ff8d66e48e779d4d99898a224bd1ab701 (diff) | |
Implement expression kind for Spanned<T> 👩💻
Diffstat (limited to 'src/library/boxed.rs')
| -rw-r--r-- | src/library/boxed.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/library/boxed.rs b/src/library/boxed.rs index c205eec6..2d0d6e6b 100644 --- a/src/library/boxed.rs +++ b/src/library/boxed.rs @@ -14,9 +14,7 @@ function! { Boxed { body: parse!(optional: body, ctx).unwrap_or(SyntaxTree::new()), map: ExtentMap::new(&mut args, false)?, - debug: args.get_key_opt::<bool>("debug")? - .map(Spanned::value) - .unwrap_or(true), + debug: args.get_key_opt::<bool>("debug")?.unwrap_or(true), } } |
