Use Rc in Command::map for Wasm

This commit is contained in:
Héctor Ramón Jiménez 2020-04-25 02:29:40 +02:00
parent f1e18d0935
commit 63f54edf0c

View file

@ -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