diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-09-07 01:18:13 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-07 01:18:13 +0200 |
| commit | d4449138405ba1e7f14c5b3a72209a420a51c2fd (patch) | |
| tree | 1824413d421cb145a6d77e66c3a668e3c4554a90 /library/std/src/sys | |
| parent | 346d54d1f873fed53258835f489ce24d77591ec1 (diff) | |
| parent | 5456414d91c2ca550cf9c12f3dda7283f7f50f74 (diff) | |
| download | rust-d4449138405ba1e7f14c5b3a72209a420a51c2fd.tar.gz rust-d4449138405ba1e7f14c5b3a72209a420a51c2fd.zip | |
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
Diffstat (limited to 'library/std/src/sys')
| -rw-r--r-- | library/std/src/sys/unix/ext/fs.rs | 2 | ||||
| -rw-r--r-- | library/std/src/sys/vxworks/ext/fs.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/sys/unix/ext/fs.rs b/library/std/src/sys/unix/ext/fs.rs index e48e950928a..487ac266ee9 100644 --- a/library/std/src/sys/unix/ext/fs.rs +++ b/library/std/src/sys/unix/ext/fs.rs @@ -428,7 +428,7 @@ pub trait MetadataExt { /// ```no_run /// use std::fs; /// use std::os::unix::fs::MetadataExt; - /// use std::io; + /// use std::io; /// /// fn main() -> io::Result<()> { /// let meta = fs::metadata("some_file")?; diff --git a/library/std/src/sys/vxworks/ext/fs.rs b/library/std/src/sys/vxworks/ext/fs.rs index 4ff86daf0dd..9b4c64bdb6d 100644 --- a/library/std/src/sys/vxworks/ext/fs.rs +++ b/library/std/src/sys/vxworks/ext/fs.rs @@ -427,7 +427,7 @@ pub trait MetadataExt { /// ```no_run /// use std::fs; /// use std::os::unix::fs::MetadataExt; - /// use std::io; + /// use std::io; /// /// fn main() -> io::Result<()> { /// let meta = fs::metadata("some_file")?; |
