summaryrefslogtreecommitdiffstats
path: root/web/src/command.rs
diff options
context:
space:
mode:
Diffstat (limited to 'web/src/command.rs')
-rw-r--r--web/src/command.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/src/command.rs b/web/src/command.rs
index 606097de..ff6965c1 100644
--- a/web/src/command.rs
+++ b/web/src/command.rs
@@ -33,7 +33,7 @@ impl<T> Command<T> {
/// Applies a transformation to the result of a [`Command`].
#[cfg(target_arch = "wasm32")]
- pub fn map<A>(mut self, f: impl Fn(T) -> A + 'static + Clone) -> Command<A>
+ pub fn map<A>(self, f: impl Fn(T) -> A + 'static + Clone) -> Command<A>
where
T: 'static,
{