diff options
-rw-r--r-- | src/input.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input.rs b/src/input.rs index f452aa4e..55594e19 100644 --- a/src/input.rs +++ b/src/input.rs @@ -115,7 +115,7 @@ pub struct WriteNotifier<'a, W: Write + 'a>(pub &'a mut W); impl<'a, W: Write> Notify for WriteNotifier<'a, W> { fn notify(&mut self, message: &str) { - self.0.write(message.as_bytes()).unwrap(); + self.0.write_all(message.as_bytes()).unwrap(); } } |