diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2018-08-19 15:30:23 +0200 |
|---|---|---|
| committer | Matthias Krüger <matthias.krueger@famsik.de> | 2018-08-19 17:41:28 +0200 |
| commit | 71120ef1e5cb885ee45e6148970db6ce93ce1aca (patch) | |
| tree | 9358c738c8943f0bc0b65303818237a801b8b0e1 /src/libstd/io | |
| parent | a9fe312b98d5a6b194c4ad1a17dcf258ba9941ea (diff) | |
Fix typos found by codespell.
Diffstat (limited to 'src/libstd/io')
| -rw-r--r-- | src/libstd/io/buffered.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/io/buffered.rs b/src/libstd/io/buffered.rs index 03c97de6ec1..77bc7e946eb 100644 --- a/src/libstd/io/buffered.rs +++ b/src/libstd/io/buffered.rs @@ -889,7 +889,7 @@ impl<W: Write> Write for LineWriter<W> { // Find the last newline character in the buffer provided. If found then // we're going to write all the data up to that point and then flush, - // otherewise we just write the whole block to the underlying writer. + // otherwise we just write the whole block to the underlying writer. let i = match memchr::memrchr(b'\n', buf) { Some(i) => i, None => return self.inner.write(buf), |
