diff options
Diffstat (limited to '')
-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 |