From cf434236e7e15e0fa05e5915b8d4d78dcaf1b7e8 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Thu, 11 May 2023 17:28:51 +0200 Subject: Enable `doc_auto_cfg` when generating documentation --- widget/src/lib.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'widget/src/lib.rs') diff --git a/widget/src/lib.rs b/widget/src/lib.rs index ab1ab95b..9da13f9b 100644 --- a/widget/src/lib.rs +++ b/widget/src/lib.rs @@ -14,6 +14,7 @@ )] #![forbid(unsafe_code, rust_2018_idioms)] #![allow(clippy::inherent_to_string, clippy::type_complexity)] +#![cfg_attr(docsrs, feature(doc_auto_cfg))] pub use iced_renderer as renderer; pub use iced_renderer::graphics; pub use iced_runtime as runtime; -- cgit