summaryrefslogtreecommitdiff
path: root/src/library/boxed.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2019-12-13 14:58:14 +0100
committerLaurenz <laurmaedje@gmail.com>2019-12-13 14:58:14 +0100
commit971ff3a2dcff1e68bf7e19017113469aad5a30c2 (patch)
treef6776688446f278882947f713401b9a92b8e9384 /src/library/boxed.rs
parentf549914ff8d66e48e779d4d99898a224bd1ab701 (diff)
Implement expression kind for Spanned<T> 👩‍💻
Diffstat (limited to 'src/library/boxed.rs')
-rw-r--r--src/library/boxed.rs4
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),
}
}