diff --git a/src/thread/setns.rs b/src/thread/setns.rs index ef61d11e8..48279dcda 100644 --- a/src/thread/setns.rs +++ b/src/thread/setns.rs @@ -101,6 +101,7 @@ bitflags! { /// - [Linux] /// /// [Linux]: https://man7.org/linux/man-pages/man2/setns.2.html +#[doc(alias = "setns")] pub fn move_into_link_name_space( fd: BorrowedFd<'_>, allowed_type: Option, @@ -118,6 +119,7 @@ pub fn move_into_link_name_space( /// - [Linux] /// /// [Linux]: https://man7.org/linux/man-pages/man2/setns.2.html +#[doc(alias = "setns")] pub fn move_into_thread_name_spaces( fd: BorrowedFd<'_>, allowed_types: ThreadNameSpaceType,