summaryrefslogtreecommitdiff
path: root/runtime/tokio_util.rs
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/tokio_util.rs')
-rw-r--r--runtime/tokio_util.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/tokio_util.rs b/runtime/tokio_util.rs
index 25693ae55..52888abe4 100644
--- a/runtime/tokio_util.rs
+++ b/runtime/tokio_util.rs
@@ -14,8 +14,7 @@ pub fn create_basic_runtime() -> tokio::runtime::Runtime {
.unwrap()
}
-// TODO(ry) rename to run_local ?
-pub fn run_basic<F, R>(future: F) -> R
+pub fn run_local<F, R>(future: F) -> R
where
F: std::future::Future<Output = R>,
{