From 6d654200b6b454642bb0dfeca641154b290a9c46 Mon Sep 17 00:00:00 2001 From: "Sergey \"Shnatsel\" Davidoff" Date: Thu, 26 Sep 2024 18:47:30 +0100 Subject: [PATCH] Revert "Merge pull request #427 from ByteBaker/main" This reverts commit 6fbd6d21151d0948ed94be8ac99b412d30315109, reversing changes made to f6b4c6061be20a3c29f77f45ac8d07a0c5e3007a. --- src/lib.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 354455ef..d286ba2e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -192,10 +192,6 @@ impl Compression { /// /// The integer here is typically on a scale of 0-9 where 0 means "no /// compression" and 9 means "take as long as you'd like". - /// - /// It is worth noting that `flate2` supports both `zlib` and `miniz` - /// backends for compression, where `miniz` also provides a level `10` of - /// compression. pub const fn new(level: u32) -> Compression { Compression(level) } @@ -217,7 +213,7 @@ impl Compression { } /// Returns an integer representing the compression level, typically on a - /// scale of 0-9. With `miniz` backend, level 10 is also possible. + /// scale of 0-9 pub fn level(&self) -> u32 { self.0 }