diff options
| author | king6cong <king6cong@gmail.com> | 2019-01-04 11:23:24 +0800 |
|---|---|---|
| committer | king6cong <king6cong@gmail.com> | 2019-01-04 11:23:24 +0800 |
| commit | d60fa1d3c21e00bedc0dd94dc2df7e5183c14c48 (patch) | |
| tree | e0e20f398522cb1bfe67bbc130b01f68c6a98d8e /src/libstd/io | |
| parent | c0bbc3927e28c22edefe6a1353b5ecc95ea9a104 (diff) | |
| download | rust-d60fa1d3c21e00bedc0dd94dc2df7e5183c14c48.tar.gz rust-d60fa1d3c21e00bedc0dd94dc2df7e5183c14c48.zip | |
Doc rewording, use the same name `writer`
Diffstat (limited to 'src/libstd/io')
| -rw-r--r-- | src/libstd/io/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs index 040669b7302..0991957fa7f 100644 --- a/src/libstd/io/mod.rs +++ b/src/libstd/io/mod.rs @@ -948,7 +948,7 @@ impl Initializer { #[stable(feature = "rust1", since = "1.0.0")] #[doc(spotlight)] pub trait Write { - /// Write a buffer into this object, returning how many bytes were written. + /// Write a buffer into this writer, returning how many bytes were written. /// /// This function will attempt to write the entire contents of `buf`, but /// the entire write may not succeed, or the write may also generate an @@ -1023,7 +1023,7 @@ pub trait Write { #[stable(feature = "rust1", since = "1.0.0")] fn flush(&mut self) -> Result<()>; - /// Attempts to write an entire buffer into this write. + /// Attempts to write an entire buffer into this writer. /// /// This method will continuously call [`write`] until there is no more data /// to be written or an error of non-[`ErrorKind::Interrupted`] kind is |
