Skip to content

Commit d60fa1d

Browse files
committed
Doc rewording, use the same name writer
1 parent c0bbc39 commit d60fa1d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libstd/io/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -948,7 +948,7 @@ impl Initializer {
948948
#[stable(feature = "rust1", since = "1.0.0")]
949949
#[doc(spotlight)]
950950
pub trait Write {
951-
/// Write a buffer into this object, returning how many bytes were written.
951+
/// Write a buffer into this writer, returning how many bytes were written.
952952
///
953953
/// This function will attempt to write the entire contents of `buf`, but
954954
/// the entire write may not succeed, or the write may also generate an
@@ -1023,7 +1023,7 @@ pub trait Write {
10231023
#[stable(feature = "rust1", since = "1.0.0")]
10241024
fn flush(&mut self) -> Result<()>;
10251025

1026-
/// Attempts to write an entire buffer into this write.
1026+
/// Attempts to write an entire buffer into this writer.
10271027
///
10281028
/// This method will continuously call [`write`] until there is no more data
10291029
/// to be written or an error of non-[`ErrorKind::Interrupted`] kind is

0 commit comments

Comments
 (0)