aboutsummaryrefslogtreecommitdiff
path: root/src/runnable.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/runnable.rs')
-rw-r--r--src/runnable.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runnable.rs b/src/runnable.rs
index adecbcb..cb70ef3 100644
--- a/src/runnable.rs
+++ b/src/runnable.rs
@@ -147,7 +147,7 @@ where
/// This function is same as [`spawn()`], except it does not require [`Send`], [`Sync`], and
/// `'static` on `future` and `schedule`.
///
-/// Safety requirements:
+/// # Safety
///
/// - If `future` is not [`Send`], its [`Runnable`] must be used and dropped on the original
/// thread.