Skip to content

Commit 2661fbb

Browse files
authored
Merge pull request #509 from fintelia/revert-flush-change
Revert flush change
2 parents ac412e9 + bc36cf4 commit 2661fbb

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "flate2"
33
authors = ["Alex Crichton <[email protected]>", "Josh Triplett <[email protected]>"]
4-
version = "1.1.4"
4+
version = "1.1.5"
55
edition = "2018"
66
license = "MIT OR Apache-2.0"
77
readme = "README.md"

src/ffi/rust.rs

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

0 commit comments

Comments
 (0)