Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Make clippy happy
  • Loading branch information
koute committed Oct 21, 2021
commit 39813393c114d3c12ba4c31cc5d0b9b2b36424e3
3 changes: 1 addition & 2 deletions client/tracing/src/logging/stderr_writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,7 @@ impl Write for StderrWriter {
}

fn write_all(&mut self, input: &[u8]) -> Result<(), std::io::Error> {
self.write(input)?;
Ok(())
self.write(input).map(|_| ())
}

fn flush(&mut self) -> Result<(), std::io::Error> {
Expand Down