6
6
#![ cfg_attr( feature = "stm32wle5" , doc = "STM32WLE5." ) ]
7
7
//!
8
8
#![ 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) ) ]
10
10
#![ warn( missing_docs) ]
11
11
#![ warn( clippy:: wildcard_imports) ]
12
12
@@ -27,15 +27,15 @@ compile_error!(
27
27
cfg_if:: cfg_if! {
28
28
if #[ cfg( feature = "stm32wl5x_cm0p" ) ] {
29
29
/// Peripheral access crate
30
- #[ cfg_attr( docsrs, doc( cfg_hide( feature = "stm32wl5x_cm0p" ) ) ) ]
30
+ // #[cfg_attr(docsrs, doc(cfg_hide(feature = "stm32wl5x_cm0p")))]
31
31
pub use stm32wl:: stm32wl5x_cm0p as pac;
32
32
} else if #[ cfg( feature = "stm32wl5x_cm4" ) ] {
33
33
/// Peripheral access crate
34
- #[ cfg_attr( docsrs, doc( cfg_hide( feature = "stm32wl5x_cm4" ) ) ) ]
34
+ // #[cfg_attr(docsrs, doc(cfg_hide(feature = "stm32wl5x_cm4")))]
35
35
pub use stm32wl:: stm32wl5x_cm4 as pac;
36
36
} else if #[ cfg( feature = "stm32wle5" ) ] {
37
37
/// Peripheral access crate
38
- #[ cfg_attr( docsrs, doc( cfg_hide( feature = "stm32wle5" ) ) ) ]
38
+ // #[cfg_attr(docsrs, doc(cfg_hide(feature = "stm32wle5")))]
39
39
pub use stm32wl:: stm32wle5 as pac;
40
40
} else {
41
41
core:: compile_error!( "You must select your hardware with a feature flag" ) ;
0 commit comments