From f36931f7af4646065488a9845d8f8c2f95252c23 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Sun, 10 May 2026 17:10:21 +0200 Subject: [PATCH] Fix doc generation This `doc_auto_cfg` was merged into `doc_cfg` a while back. --- Cargo.toml | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 6b70605d..18a3a071 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -72,7 +72,7 @@ simd = [] # compatibility. 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 = [] [dependencies] diff --git a/src/lib.rs b/src/lib.rs index 1154ff11..5ca4a0f4 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -82,7 +82,7 @@ //! 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! -#![cfg_attr(feature = "docs", feature(doc_auto_cfg))] +#![cfg_attr(feature = "docs", feature(doc_cfg))] #![cfg_attr(feature = "simd", feature(portable_simd))] // 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.