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.
AsFd for Arc<T>
Box<T>
1 parent 14dbfeb commit bd0474dCopy full SHA for bd0474d
library/std/src/os/fd/owned.rs
@@ -356,7 +356,7 @@ impl From<OwnedFd> for crate::net::UdpSocket {
356
}
357
358
359
-#[stable(feature = "io_safety", since = "1.63.0")]
+#[stable(feature = "asfd_ptrs", since = "1.64.0")]
360
/// This impl allows implementing traits that require `AsFd` on Arc.
361
/// ```
362
/// # #[cfg(any(unix, target_os = "wasi"))] mod group_cfg {
@@ -379,7 +379,7 @@ impl<T: AsFd> AsFd for crate::sync::Arc<T> {
379
380
381
382
383
impl<T: AsFd> AsFd for Box<T> {
384
#[inline]
385
fn as_fd(&self) -> BorrowedFd<'_> {
0 commit comments