Skip to content

Commit

Permalink
chore: fix new Clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexTMjugador committed Feb 1, 2025
1 parent f77118f commit c4585ea
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,15 @@
//! - `gzip` (enabled by default): enables support for compression in the gzip format.
//! - `zlib` (enabled by default): enables support for compression in the Zlib format.
//! - `std` (enabled by default): enables linking against the Rust standard library. When not enabled,
//! the crate is built with the `#![no_std]` attribute and can be used
//! in any environment where [`alloc`](https://doc.rust-lang.org/alloc/)
//! (i.e., a memory allocator) is available. In addition, the crate
//! exposes minimalist versions of the `std` I/O traits it needs to
//! function, allowing users to implement them.
//! the crate is built with the `#![no_std]` attribute and can be used in any environment where
//! [`alloc`](https://doc.rust-lang.org/alloc/) (i.e., a memory allocator) is available. In addition,
//! the crate exposes minimalist versions of the `std` I/O traits it needs to function, allowing users
//! to implement them.
//! - `nightly`: enables performance optimizations that are specific to the nightly Rust toolchain.
//! Currently, this feature improves rustdoc generation and enables the namesake feature
//! on `crc32fast`, but this may change in the future. This feature also used to enable
//! `simd-adler32`'s namesake feature, but it no longer does as the latest `simd-adler32`
//! release does not build with the latest nightlies (as of 2024-05-18) when that feature
//! is enabled.
//! Currently, this feature improves rustdoc generation and enables the namesake feature on `crc32fast`,
//! but this may change in the future. This feature also used to enable `simd-adler32`'s namesake
//! feature, but it no longer does as the latest `simd-adler32` release does not build with the
//! latest nightlies (as of 2024-05-18) when that feature is enabled.
#![cfg_attr(not(feature = "std"), no_std)]
#![cfg_attr(feature = "nightly", feature(doc_auto_cfg))]
Expand Down

0 comments on commit c4585ea

Please sign in to comment.