Skip to content

Commit 5a9104f

Browse files
authored
Rollup merge of #79151 - wchargin:wchargin-io-write-docs, r=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
2 parents 20fbe22 + bdaa76c commit 5a9104f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/std/src/io/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1307,10 +1307,10 @@ pub trait Write {
13071307
default_write_vectored(|b| self.write(b), bufs)
13081308
}
13091309

1310-
/// Determines if this `Write`er has an efficient [`write_vectored`]
1310+
/// Determines if this `Write`r has an efficient [`write_vectored`]
13111311
/// implementation.
13121312
///
1313-
/// If a `Write`er does not override the default [`write_vectored`]
1313+
/// If a `Write`r does not override the default [`write_vectored`]
13141314
/// implementation, code using it may want to avoid the method all together
13151315
/// and coalesce writes into a single buffer for higher performance.
13161316
///

0 commit comments

Comments
 (0)