platform and pthread cleanup

This commit is contained in:
auronandace
2026-02-27 21:38:16 +00:00
parent 94325a10c9
commit 2d3ee10aef
4 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -263,7 +263,7 @@ impl<T: Write> Write for CountingWriter<T> {
res
}
fn write_all(&mut self, buf: &[u8]) -> io::Result<()> {
match self.inner.write_all(&buf) {
match self.inner.write_all(buf) {
Ok(()) => (),
Err(ref err) if err.kind() == io::ErrorKind::WriteZero => (),
Err(err) => return Err(err),