summaryrefslogtreecommitdiffstats
path: root/core/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/lib.rs')
-rw-r--r--core/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/lib.rs b/core/src/lib.rs
index 03cc0632..e75ef2a7 100644
--- a/core/src/lib.rs
+++ b/core/src/lib.rs
@@ -144,9 +144,9 @@ impl<F, A, B, O> Function<A, B, O> for F
where
F: Fn(A, B) -> O,
Self: Sized,
- A: Copy,
+ A: Clone,
{
fn with(self, prefix: A) -> impl Fn(B) -> O {
- move |result| self(prefix, result)
+ move |result| self(prefix.clone(), result)
}
}