Skip to content

Commit 58afe33

Browse files
committed
Use partial flushes with miniz_oxide backend
1 parent 7145603 commit 58afe33

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ffi/rust.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,8 @@ impl From<FlushCompress> for MZFlush {
136136
fn from(value: FlushCompress) -> Self {
137137
match value {
138138
FlushCompress::None => Self::None,
139-
FlushCompress::Partial | FlushCompress::Sync => Self::Sync,
139+
FlushCompress::Partial => Self::Partial,
140+
FlushCompress::Sync => Self::Sync,
140141
FlushCompress::Full => Self::Full,
141142
FlushCompress::Finish => Self::Finish,
142143
}

0 commit comments

Comments
 (0)