-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Update std::os
module documentation.
#76583
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
Thanks! @bors r+ rollup |
📌 Commit 7606966c2a80639cf951828b80b4ed504d54c32e has been approved by |
library/std/src/os/linux/fs.rs
Outdated
#![stable(feature = "metadata_ext", since = "1.1.0")] | ||
|
||
//! Linux-specific extensions to primitives in the `std::fs` module. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I prefer moving doc upper the stable attr.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah I see, that's better for consistency. I moved it up, as well as for sys/unix/ext/net.rs
Adds missing descriptions for the modules std::os::linux::fs and std::os::windows::io. Also adds punctuation for consistency with other descriptions.
@bors r+ |
📌 Commit 954361a has been approved by |
Rollup of 7 pull requests Successful merges: - rust-lang#76114 (Add saturating methods for `Duration`) - rust-lang#76297 (rustdoc: fix min_const_generics with ty::Param) - rust-lang#76484 (Add MaybeUninit::assume_init_drop.) - rust-lang#76530 (Eliminate mut reference UB in Drop impl for Rc<T>) - rust-lang#76583 (Update `std::os` module documentation.) - rust-lang#76599 (Finish off revisions for const generics UI tests.) - rust-lang#76615 (Add missing examples on binary core traits) Failed merges: r? `@ghost`
Adds missing descriptions for the modules
std::os::linux::fs
andstd::os::windows::io
.Also adds punctuation for consistency with other descriptions.