diff options
author | 2020-04-25 02:29:40 +0200 | |
---|---|---|
committer | 2020-04-25 02:29:40 +0200 | |
commit | 63f54edf0c4008bb9e4011959863c09e88f4ca77 (patch) | |
tree | 816dae3ede0aa78d5c53129fcd650469ec022710 /futures/src | |
parent | f1e18d09354ec8726954581961e3907ab42b521e (diff) | |
download | iced-63f54edf0c4008bb9e4011959863c09e88f4ca77.tar.gz iced-63f54edf0c4008bb9e4011959863c09e88f4ca77.tar.bz2 iced-63f54edf0c4008bb9e4011959863c09e88f4ca77.zip |
Use `Rc` in `Command::map` for Wasm
Diffstat (limited to 'futures/src')
-rw-r--r-- | futures/src/command.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/futures/src/command.rs b/futures/src/command.rs index 25acbda0..063e9b68 100644 --- a/futures/src/command.rs +++ b/futures/src/command.rs @@ -85,7 +85,7 @@ impl<T> Command<T> { where T: 'static, { - let f = std::sync::Arc::new(f); + let f = std::rc::Rc::new(f); Command { futures: self |