Fix nlink example typo

This commit is contained in:
Chris Gillespie 2020-09-04 13:55:50 -07:00
parent d2454643e1
commit 5456414d91
2 changed files with 2 additions and 2 deletions

View File

@ -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")?;

View File

@ -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")?;