From adbc81e7042c2de55e46dcd7027b142f68ecda60 Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Mon, 25 Mar 2024 18:29:44 +0100 Subject: [PATCH] add `doc_auto_cfg` --- hui/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hui/src/lib.rs b/hui/src/lib.rs index 81dcd6b..1abf0e3 100644 --- a/hui/src/lib.rs +++ b/hui/src/lib.rs @@ -5,6 +5,8 @@ //! # Features #![doc = document_features::document_features!()] +#![cfg_attr(docsrs, feature(doc_auto_cfg))] + #![deny(unsafe_code)] #![forbid(unsafe_op_in_unsafe_fn)] #![allow(unused_parens)]