Use Rc in Command::map for Wasm
This commit is contained in:
parent
f1e18d0935
commit
63f54edf0c
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue