diff options
| author | Chris Gillespie <6572184+gillespiecd@users.noreply.github.com> | 2020-09-04 13:55:50 -0700 |
|---|---|---|
| committer | Chris Gillespie <6572184+gillespiecd@users.noreply.github.com> | 2020-09-04 14:41:27 -0700 |
| commit | 5456414d91c2ca550cf9c12f3dda7283f7f50f74 (patch) | |
| tree | 53d7a279f401017bd861971f077efb22f3bf4e16 /library | |
| parent | d2454643e137bde519786ee9e650c455d7ad6f34 (diff) | |
| download | rust-5456414d91c2ca550cf9c12f3dda7283f7f50f74.tar.gz rust-5456414d91c2ca550cf9c12f3dda7283f7f50f74.zip | |
Fix nlink example typo
Diffstat (limited to 'library')
| -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")?; |
