diff options
author | Bert Belder <bertbelder@gmail.com> | 2020-08-18 18:30:13 +0200 |
---|---|---|
committer | Bert Belder <bertbelder@gmail.com> | 2020-08-19 02:01:48 +0200 |
commit | 27f4aeb92469660fdd78a89a7b2902c08a23ca4a (patch) | |
tree | e2076aaf31f0708e5037f46d3750f93b0d637417 /cli/tokio_util.rs | |
parent | de1007fc6a2a6c2909732dcb87a5af6c1e370b09 (diff) |
Make Rc/Arc wrapper around State/GlobalState visible (#7104)
Diffstat (limited to 'cli/tokio_util.rs')
-rw-r--r-- | cli/tokio_util.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tokio_util.rs b/cli/tokio_util.rs index 0e1257da7..e477cd5ee 100644 --- a/cli/tokio_util.rs +++ b/cli/tokio_util.rs @@ -12,7 +12,7 @@ pub fn create_basic_runtime() -> tokio::runtime::Runtime { // TODO(ry) rename to run_local ? pub fn run_basic<F, R>(future: F) -> R where - F: std::future::Future<Output = R> + 'static, + F: std::future::Future<Output = R>, { let mut rt = create_basic_runtime(); rt.block_on(future) |