Skip to content

Commit 20c8700

Browse files
authored
docs: remove cfg_hide until it works
1 parent 17bc888 commit 20c8700

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

hal/src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#![cfg_attr(feature = "stm32wle5", doc = "STM32WLE5.")]
77
//!
88
#![cfg_attr(not(test), no_std)]
9-
#![cfg_attr(docsrs, feature(doc_cfg), feature(doc_auto_cfg), feature(doc_cfg_hide))]
9+
#![cfg_attr(docsrs, feature(doc_cfg), feature(doc_auto_cfg))]
1010
#![warn(missing_docs)]
1111
#![warn(clippy::wildcard_imports)]
1212

@@ -27,15 +27,15 @@ compile_error!(
2727
cfg_if::cfg_if! {
2828
if #[cfg(feature = "stm32wl5x_cm0p")] {
2929
/// Peripheral access crate
30-
#[cfg_attr(docsrs, doc(cfg_hide(feature = "stm32wl5x_cm0p")))]
30+
// #[cfg_attr(docsrs, doc(cfg_hide(feature = "stm32wl5x_cm0p")))]
3131
pub use stm32wl::stm32wl5x_cm0p as pac;
3232
} else if #[cfg(feature = "stm32wl5x_cm4")] {
3333
/// Peripheral access crate
34-
#[cfg_attr(docsrs, doc(cfg_hide(feature = "stm32wl5x_cm4")))]
34+
// #[cfg_attr(docsrs, doc(cfg_hide(feature = "stm32wl5x_cm4")))]
3535
pub use stm32wl::stm32wl5x_cm4 as pac;
3636
} else if #[cfg(feature = "stm32wle5")] {
3737
/// Peripheral access crate
38-
#[cfg_attr(docsrs, doc(cfg_hide(feature = "stm32wle5")))]
38+
// #[cfg_attr(docsrs, doc(cfg_hide(feature = "stm32wle5")))]
3939
pub use stm32wl::stm32wle5 as pac;
4040
} else {
4141
core::compile_error!("You must select your hardware with a feature flag");

0 commit comments

Comments
 (0)