summaryrefslogtreecommitdiffstats
path: root/widget/src/lib.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-05-11 17:28:51 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2023-05-11 17:28:51 +0200
commitcf434236e7e15e0fa05e5915b8d4d78dcaf1b7e8 (patch)
tree27d32b10298698c30a5a5abb55e3ce8a143bd184 /widget/src/lib.rs
parent3220d472ac7ab2d11d6fc61d50bcbf9de91e1def (diff)
downloadiced-cf434236e7e15e0fa05e5915b8d4d78dcaf1b7e8.tar.gz
iced-cf434236e7e15e0fa05e5915b8d4d78dcaf1b7e8.tar.bz2
iced-cf434236e7e15e0fa05e5915b8d4d78dcaf1b7e8.zip
Enable `doc_auto_cfg` when generating documentation
Diffstat (limited to 'widget/src/lib.rs')
-rw-r--r--widget/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
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;