diff options
| author | Andy Russell <arussell123@gmail.com> | 2020-07-07 20:48:15 -0400 | 
|---|---|---|
| committer | Andy Russell <arussell123@gmail.com> | 2020-07-09 10:57:11 -0400 | 
| commit | 133e91da627a42218721caf2083c3f309e1b0dcc (patch) | |
| tree | 2469eec3ebdbafacac0e4ec20711c45e8795372d /src/libstd/sys/unix/ext | |
| parent | e1beee4992ad4b235fc700bf7af1ee86f894ea53 (diff) | |
| download | rust-133e91da627a42218721caf2083c3f309e1b0dcc.tar.gz rust-133e91da627a42218721caf2083c3f309e1b0dcc.zip | |
libstd/libcore: fix various typos
Diffstat (limited to 'src/libstd/sys/unix/ext')
| -rw-r--r-- | src/libstd/sys/unix/ext/fs.rs | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/libstd/sys/unix/ext/fs.rs b/src/libstd/sys/unix/ext/fs.rs index 2b2bbc6e9d6..f174a59b49a 100644 --- a/src/libstd/sys/unix/ext/fs.rs +++ b/src/libstd/sys/unix/ext/fs.rs @@ -624,7 +624,7 @@ pub trait MetadataExt { /// ``` #[stable(feature = "metadata_ext", since = "1.1.0")] fn ctime_nsec(&self) -> i64; - /// Returns the blocksize for filesystem I/O. + /// Returns the block size for filesystem I/O. /// /// # Examples /// @@ -635,7 +635,7 @@ pub trait MetadataExt { /// /// fn main() -> io::Result<()> { /// let meta = fs::metadata("some_file")?; - /// let blocksize = meta.blksize(); + /// let block_size = meta.blksize(); /// Ok(()) /// } /// ``` | 
