summaryrefslogtreecommitdiff
path: root/src/model/methods.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/methods.rs')
-rw-r--r--src/model/methods.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/methods.rs b/src/model/methods.rs
index 07cbb822..26d27dfa 100644
--- a/src/model/methods.rs
+++ b/src/model/methods.rs
@@ -97,7 +97,7 @@ pub fn call(
},
Value::Func(func) => match method {
- "with" => Value::Func(func.clone().with(args.take())),
+ "with" => Value::Func(func.with(args.take())),
_ => return missing(),
},