Skip to content

Commit

Permalink
Merge pull request #560 from Shnatsel/doc-changes
Browse files Browse the repository at this point in the history
Minor documentation fixes
  • Loading branch information
Shnatsel authored Dec 30, 2024
2 parents f4d6ce4 + 7d9fba0 commit 8336ff2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ impl AnimationControl {
/// This is a simple, high-level interface that will automatically choose
/// the appropriate DEFLATE compression mode and PNG filter.
///
/// If you need more control over the encoding paramters,
/// If you need more control over the encoding parameters,
/// you can set the [DeflateCompression] and [Filter] manually.
#[derive(Debug, Clone, Copy)]
#[non_exhaustive]
Expand Down Expand Up @@ -376,9 +376,6 @@ pub enum DeflateCompression {
/// Uses the [fdeflate](https://crates.io/crates/fdeflate) crate under the hood
/// to achieve speeds far exceeding what libpng is capable of
/// while still providing a decent compression ratio.
///
/// Images encoded in this mode can also be decoded by the `png` crate slightly faster than usual.
/// Other decoders (e.g. libpng) do not get a decoding speed boost from this mode.
FdeflateUltraFast,

/// Uses [flate2](https://crates.io/crates/flate2) crate with the specified [compression level](flate2::Compression::new).
Expand Down

0 comments on commit 8336ff2

Please sign in to comment.