More fixes

This commit is contained in:
2024-11-22 00:19:45 -07:00
parent a8bc312dd9
commit 75e6f09b24
4 changed files with 12 additions and 6 deletions

View File

@@ -721,7 +721,7 @@ where W: Write
fn flush(&mut self) -> io::Result<()> { self.inner.flush() }
}
const ZERO_SECTOR: [u8; SECTOR_SIZE] = [0; SECTOR_SIZE];
static ZERO_SECTOR: [u8; SECTOR_SIZE] = [0; SECTOR_SIZE];
impl<W> Seek for HashStream<W>
where W: Write