Skip to content

Commit df15c04

Browse files
committed
spawn_blocking -> blocking
Signed-off-by: Yoshua Wuyts <[email protected]>
1 parent 958d3a9 commit df15c04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/task/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ pub(crate) mod blocking;
5555
#[cfg(any(feature = "unstable", feature = "docs"))]
5656
#[cfg_attr(feature = "docs", doc(cfg(unstable)))]
5757
#[inline]
58-
pub fn spawn_blocking<F, R>(future: F) -> blocking::JoinHandle<R>
58+
pub fn blocking<F, R>(future: F) -> blocking::JoinHandle<R>
5959
where
6060
F: crate::future::Future<Output = R> + Send + 'static,
6161
R: Send + 'static,

0 commit comments

Comments
 (0)