Skip to content

Commit 1e6a98b

Browse files
sdroegebilelmoussaoui
authored andcommitted
glib: Convert safety doc comment to a normal comment
1 parent 6f59e89 commit 1e6a98b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

glib/src/main_context_futures.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -355,9 +355,9 @@ impl<T: 'static> futures_core::FusedFuture for JoinHandle<T> {
355355
}
356356
}
357357

358-
/// Safety: We can't rely on the auto implementation because we are retrieving
359-
/// the result as a `Box<dyn Any + 'static>` from the [`Source`]. We need to
360-
/// rely on type erasure here, so we have to manually assert the Send bound too.
358+
// Safety: We can't rely on the auto implementation because we are retrieving
359+
// the result as a `Box<dyn Any + 'static>` from the [`Source`]. We need to
360+
// rely on type erasure here, so we have to manually assert the Send bound too.
361361
unsafe impl<T: Send> Send for JoinHandle<T> {}
362362

363363
// rustdoc-stripper-ignore-next

0 commit comments

Comments
 (0)