add and apply unused_io_amount clippy lint
This commit is contained in:
@@ -205,7 +205,7 @@ impl ProducerHandle {
|
||||
}
|
||||
|
||||
pub fn write_event(&mut self, event: orbclient::Event) -> io::Result<()> {
|
||||
self.0.write(&event)?;
|
||||
self.0.write_all(&event)?;
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user