Skip to content

Commit d444913

Browse files
authored
Rollup merge of #76346 - gillespiecd:nlinks-docs, r=Dylan-DPC
Docs: nlink example typo Small typo fix for the `nlink` function, extra whitespace before the `use` declaration
2 parents 346d54d + 5456414 commit d444913

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

library/std/src/sys/unix/ext/fs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ pub trait MetadataExt {
428428
/// ```no_run
429429
/// use std::fs;
430430
/// use std::os::unix::fs::MetadataExt;
431-
/// use std::io;
431+
/// use std::io;
432432
///
433433
/// fn main() -> io::Result<()> {
434434
/// let meta = fs::metadata("some_file")?;

library/std/src/sys/vxworks/ext/fs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ pub trait MetadataExt {
427427
/// ```no_run
428428
/// use std::fs;
429429
/// use std::os::unix::fs::MetadataExt;
430-
/// use std::io;
430+
/// use std::io;
431431
///
432432
/// fn main() -> io::Result<()> {
433433
/// let meta = fs::metadata("some_file")?;

0 commit comments

Comments
 (0)