Fix copy-and-paste error with wrong error output

This commit is contained in:
Lukas Fürderer 2019-02-14 21:19:24 +01:00
parent d2c61651fa
commit d7ce72ecfb
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ impl<'a, T> WriteWrapper<'a, T>
match self.stream.write_all(buf) {
Ok(()) => Ok(()),
Err(e) => Err(format!(
"Error reading \"{}\":\n{}",
"Error writing \"{}\":\n{}",
self.name,
e
)),