We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f59e89 commit 1e6a98bCopy full SHA for 1e6a98b
glib/src/main_context_futures.rs
@@ -355,9 +355,9 @@ impl<T: 'static> futures_core::FusedFuture for JoinHandle<T> {
355
}
356
357
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.
+// Safety: We can't rely on the auto implementation because we are retrieving
+// the result as a `Box<dyn Any + 'static>` from the [`Source`]. We need to
+// rely on type erasure here, so we have to manually assert the Send bound too.
361
unsafe impl<T: Send> Send for JoinHandle<T> {}
362
363
// rustdoc-stripper-ignore-next
0 commit comments