From a3ef8d466999565dd465762d1b09588a43f3cfce Mon Sep 17 00:00:00 2001 From: Sinan Nalkaya Date: Wed, 8 Oct 2025 14:08:06 +0200 Subject: [PATCH] Replace doc_auto_cfg with doc_cfg feature. --- mbedtls/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mbedtls/src/lib.rs b/mbedtls/src/lib.rs index e43eadc5..083e20f3 100644 --- a/mbedtls/src/lib.rs +++ b/mbedtls/src/lib.rs @@ -9,7 +9,7 @@ #![deny(warnings)] #![allow(unused_doc_comments, ambiguous_glob_reexports)] // allow ambiguous glob reexports for now in autogenerated bindings. #![cfg_attr(not(feature = "std"), no_std)] -#![cfg_attr(nightly, feature(doc_auto_cfg))] +#![cfg_attr(nightly, feature(doc_cfg))] #[cfg(not(any(feature = "std", feature = "no_std_deps")))] compile_error!("Either the `std` or `no_std_deps` feature needs to be enabled");