mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-10-01 12:20:39 +00:00
docs: added trailing backticks (#5938)
This commit is contained in:
parent
a7d52c2fed
commit
3d64a06600
@ -260,6 +260,7 @@ impl Runtime {
|
|||||||
/// println!("now running on a worker thread");
|
/// println!("now running on a worker thread");
|
||||||
/// });
|
/// });
|
||||||
/// # }
|
/// # }
|
||||||
|
/// ```
|
||||||
#[track_caller]
|
#[track_caller]
|
||||||
pub fn spawn_blocking<F, R>(&self, func: F) -> JoinHandle<R>
|
pub fn spawn_blocking<F, R>(&self, func: F) -> JoinHandle<R>
|
||||||
where
|
where
|
||||||
|
Loading…
x
Reference in New Issue
Block a user