-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve os::linux documentation (#29367) #40869
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @steveklabnik (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
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.
Wonderful, thanks! I have one tiny nit and then we can merge.
src/libstd/os/linux/fs.rs
Outdated
#[stable(feature = "metadata_ext2", since = "1.8.0")] | ||
fn st_rdev(&self) -> u64; | ||
/// Returns the size of the file (if it is a regular file or a symbolic link) in bytes. | ||
/// The size of a symbolic link is the length of the pathname it contains, without a terminating null byte. |
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.
can you add a ///
above this line? With markdown, just one \n
doesn't actually cause a line break; it will bleed together as one paragraph. We try to usually have a short summary, a blank space, and then elaborate more 😄
@steveklabnik done |
@bors: r+ rollup awesome, thanks! |
📌 Commit 732fe24 has been approved by |
@bors r- Looks like there's a tidy error:
|
@frewsxcv @steveklabnik this should be ok. |
@bors: r+ rollup 👍 |
📌 Commit b36cff5 has been approved by |
Improve os::linux documentation (rust-lang#29367) Improve `os::linux` documentation according to rust-lang#29367 r? @steveklabnik
Improve
os::linux
documentation according to #29367r? @steveklabnik