We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 958d3a9 commit df15c04Copy full SHA for df15c04
src/task/mod.rs
@@ -55,7 +55,7 @@ pub(crate) mod blocking;
55
#[cfg(any(feature = "unstable", feature = "docs"))]
56
#[cfg_attr(feature = "docs", doc(cfg(unstable)))]
57
#[inline]
58
-pub fn spawn_blocking<F, R>(future: F) -> blocking::JoinHandle<R>
+pub fn blocking<F, R>(future: F) -> blocking::JoinHandle<R>
59
where
60
F: crate::future::Future<Output = R> + Send + 'static,
61
R: Send + 'static,
0 commit comments