We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5b59fe commit 370ad70Copy full SHA for 370ad70
esp-hal/src/lib.rs
@@ -199,6 +199,9 @@
199
semver_checks,
200
allow(rustdoc::private_intra_doc_links, rustdoc::broken_intra_doc_links)
201
)]
202
+// Do not document `cfg` gates by default.
203
+#![cfg_attr(docsrs, allow(invalid_doc_attributes))] // doc(auto_cfg = false) requires a new nightly (~2025-10-09+)
204
+#![cfg_attr(docsrs, doc(auto_cfg = false))]
205
#![no_std]
206
207
// MUST be the first module
0 commit comments