We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ac412e9 + bc36cf4 commit 2661fbbCopy full SHA for 2661fbb
Cargo.toml
@@ -1,7 +1,7 @@
1
[package]
2
name = "flate2"
3
authors = ["Alex Crichton <alex@alexcrichton.com>", "Josh Triplett <josh@joshtriplett.org>"]
4
-version = "1.1.4"
+version = "1.1.5"
5
edition = "2018"
6
license = "MIT OR Apache-2.0"
7
readme = "README.md"
src/ffi/rust.rs
@@ -136,8 +136,7 @@ impl From<FlushCompress> for MZFlush {
136
fn from(value: FlushCompress) -> Self {
137
match value {
138
FlushCompress::None => Self::None,
139
- FlushCompress::Partial => Self::Partial,
140
- FlushCompress::Sync => Self::Sync,
+ FlushCompress::Partial | FlushCompress::Sync => Self::Sync,
141
FlushCompress::Full => Self::Full,
142
FlushCompress::Finish => Self::Finish,
143
}
0 commit comments