Skip to content

Commit ad763b2

Browse files
committed
Fix clippy::missing_safety_doc warning
1 parent 1c9d4cf commit ad763b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runnable.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ where
147147
/// This function is same as [`spawn()`], except it does not require [`Send`], [`Sync`], and
148148
/// `'static` on `future` and `schedule`.
149149
///
150-
/// Safety requirements:
150+
/// # Safety
151151
///
152152
/// - If `future` is not [`Send`], its [`Runnable`] must be used and dropped on the original
153153
/// thread.

0 commit comments

Comments
 (0)