Skip to content

Commit

Permalink
Rollup merge of rust-lang#79151 - wchargin:wchargin-io-write-docs, r=…
Browse files Browse the repository at this point in the history
…jyn514

Fix typo in `std::io::Write` docs

These referred to a “`Write`er”—extra *e*. Presumably a copy-paste
holdover from “`Read`er”.

Test Plan:
Running ``git grep '`\?[Ww]rite`\?er'`` no longer finds any results.

wchargin-branch: io-write-docs
  • Loading branch information
m-ou-se committed Nov 18, 2020
2 parents c15c1f4 + bdaa76c commit 74e6442
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/std/src/io/mod.rs
Expand Up @@ -1307,10 +1307,10 @@ pub trait Write {
default_write_vectored(|b| self.write(b), bufs)
}

/// Determines if this `Write`er has an efficient [`write_vectored`]
/// Determines if this `Write`r has an efficient [`write_vectored`]
/// implementation.
///
/// If a `Write`er does not override the default [`write_vectored`]
/// If a `Write`r does not override the default [`write_vectored`]
/// implementation, code using it may want to avoid the method all together
/// and coalesce writes into a single buffer for higher performance.
///
Expand Down

0 comments on commit 74e6442

Please sign in to comment.