summaryrefslogtreecommitdiff
path: root/src/eval/methods.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-05-03 15:58:15 +0200
committerLaurenz <laurmaedje@gmail.com>2022-05-03 15:58:15 +0200
commitd59109e8fffa1d0b03234329e12f5d3e578804e8 (patch)
treefe7453da6f2ae327993e5ca6436ddc6a448a2c41 /src/eval/methods.rs
parentf77f1f61bf05ae506689be3c40252c5807276280 (diff)
Support recursive show rules
Diffstat (limited to 'src/eval/methods.rs')
-rw-r--r--src/eval/methods.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eval/methods.rs b/src/eval/methods.rs
index 017591b4..b3674dff 100644
--- a/src/eval/methods.rs
+++ b/src/eval/methods.rs
@@ -96,7 +96,7 @@ pub fn call_mut(
},
Value::Dict(dict) => match method {
- "remove" => dict.remove(args.expect("key")?).at(span)?,
+ "remove" => dict.remove(&args.expect("key")?).at(span)?,
_ => missing()?,
},