Skip to content

Commit a3b8c0a

Browse files
committed
Undo introducing straight up incorrect documentation
1 parent 9f6b4b6 commit a3b8c0a

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/lib.rs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -190,18 +190,6 @@ impl Compression {
190190
///
191191
/// The integer here is typically on a scale of 0-9 where 0 means "no
192192
/// compression" and 9 means "take as long as you'd like".
193-
///
194-
/// ### Backend differences
195-
///
196-
/// The [`miniz_oxide`](https://crates.io/crates/miniz_oxide) backend for flate2
197-
/// does not support level 0 or `Compression::none()`. Instead it interprets them
198-
/// as the default compression level, which is quite slow.
199-
/// `Compression::fast()` should be used instead.
200-
///
201-
/// `miniz_oxide` also supports a non-compliant compression level 10.
202-
/// It is even slower and may result in higher compression, but
203-
/// **only miniz_oxide will be able to read the data** compressed with level 10.
204-
/// Do **not** use level 10 if you need other software to be able to read it!
205193
pub const fn new(level: u32) -> Compression {
206194
Compression(level)
207195
}

0 commit comments

Comments
 (0)