This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 16 files changed +60
-15
lines changed Expand file tree Collapse file tree 16 files changed +60
-15
lines changed Original file line number Diff line number Diff line change 1- //! Linux-specific extensions to primitives in the `std::fs` module.
1+ //! Linux-specific extensions to primitives in the [`std::fs`] module.
2+ //!
3+ //! [`std::fs`]: crate::fs
24
35#![ stable( feature = "metadata_ext" , since = "1.1.0" ) ]
46
Original file line number Diff line number Diff line change 1- //! Linux-specific extensions to primitives in the `std::process` module.
1+ //! Linux-specific extensions to primitives in the [`std::process`] module.
2+ //!
3+ //! [`std::process`]: crate::process
24
35#![ unstable( feature = "linux_pidfd" , issue = "82971" ) ]
46
Original file line number Diff line number Diff line change 1- //! Unix-specific extension to the primitives in the `std::ffi` module.
1+ //! Unix-specific extensions to primitives in the [ `std::ffi`] module.
22//!
33//! # Examples
44//!
3131//! let bytes = os_str.as_bytes();
3232//! assert_eq!(bytes, b"foo");
3333//! ```
34+ //!
35+ //! [`std::ffi`]: crate::ffi
3436
3537#![ stable( feature = "rust1" , since = "1.0.0" ) ]
3638
Original file line number Diff line number Diff line change 1- //! Unix-specific extensions to primitives in the `std::fs` module.
1+ //! Unix-specific extensions to primitives in the [`std::fs`] module.
2+ //!
3+ //! [`std::fs`]: crate::fs
24
35#![ stable( feature = "rust1" , since = "1.0.0" ) ]
46
Original file line number Diff line number Diff line change 44//! exposes Unix-specific functions that would otherwise be inappropriate as
55//! part of the core `std` library.
66//!
7- //! It exposes more ways to deal with platform-specific strings (`OsStr`,
8- //! `OsString`), allows to set permissions more granularly, extract low-level
7+ //! It exposes more ways to deal with platform-specific strings ([ `OsStr`] ,
8+ //! [ `OsString`] ), allows to set permissions more granularly, extract low-level
99//! file descriptors from files and sockets, and has platform-specific helpers
1010//! for spawning processes.
1111//!
2424//! Ok(())
2525//! }
2626//! ```
27+ //!
28+ //! [`OsStr`]: crate::ffi::OsStr
29+ //! [`OsString`]: crate::ffi::OsString
2730
2831#![ stable( feature = "rust1" , since = "1.0.0" ) ]
2932#![ doc( cfg( unix) ) ]
Original file line number Diff line number Diff line change 1- //! Unix-specific networking functionality
1+ //! Unix-specific networking functionality.
22
33#![ stable( feature = "unix_socket" , since = "1.10.0" ) ]
44
Original file line number Diff line number Diff line change 1- //! Unix-specific extensions to primitives in the `std::process` module.
1+ //! Unix-specific extensions to primitives in the [`std::process`] module.
2+ //!
3+ //! [`std::process`]: crate::process
24
35#![ stable( feature = "rust1" , since = "1.0.0" ) ]
46
Original file line number Diff line number Diff line change 1- //! Unix-specific extensions to primitives in the `std::thread` module.
1+ //! Unix-specific extensions to primitives in the [`std::thread`] module.
2+ //!
3+ //! [`std::thread`]: crate::thread
24
35#![ stable( feature = "thread_extensions" , since = "1.9.0" ) ]
46
Original file line number Diff line number Diff line change 1- //! WASI-specific extension to the primitives in the `std::ffi` module
1+ //! WASI-specific extensions to primitives in the [`std::ffi`] module
2+ //!
3+ //! [`std::ffi`]: crate::ffi
24
35#![ stable( feature = "rust1" , since = "1.0.0" ) ]
46
Original file line number Diff line number Diff line change 1- //! WASI-specific extensions to primitives in the `std::fs` module.
1+ //! WASI-specific extensions to primitives in the [`std::fs`] module.
2+ //!
3+ //! [`std::fs`]: crate::fs
24
35#![ deny( unsafe_op_in_unsafe_fn) ]
46#![ unstable( feature = "wasi_ext" , issue = "71213" ) ]
You can’t perform that action at this time.
0 commit comments