Fix doc generation

This `doc_auto_cfg` was merged into `doc_cfg` a while back.
This commit is contained in:
Robbert van der Helm
2026-05-10 17:10:21 +02:00
parent 59c18bf163
commit f36931f7af
2 changed files with 2 additions and 2 deletions

View File

@@ -72,7 +72,7 @@ simd = []
# compatibility. # compatibility.
zstd = ["dep:zstd"] zstd = ["dep:zstd"]
# Only relevant when generating docs, adds the `doc_auto_cfg` nightly feature # Only relevant when generating docs, adds the `doc_cfg` nightly feature
docs = [] docs = []
[dependencies] [dependencies]

View File

@@ -82,7 +82,7 @@
//! There's a whole lot more to discuss, but once you understand the above you should be able to //! There's a whole lot more to discuss, but once you understand the above you should be able to
//! figure out the rest by reading through the examples and the API documentation. Good luck! //! figure out the rest by reading through the examples and the API documentation. Good luck!
#![cfg_attr(feature = "docs", feature(doc_auto_cfg))] #![cfg_attr(feature = "docs", feature(doc_cfg))]
#![cfg_attr(feature = "simd", feature(portable_simd))] #![cfg_attr(feature = "simd", feature(portable_simd))]
// Around Rust 1.64 Clippy started throwing this for all instances of `dyn Fn(...) -> ... + Send + // Around Rust 1.64 Clippy started throwing this for all instances of `dyn Fn(...) -> ... + Send +
// Sync`. Creating type aliases for all of these callbacks probably won't make things easier to read. // Sync`. Creating type aliases for all of these callbacks probably won't make things easier to read.