diff options
| author | i509VCB <[email protected]> | 2025-03-13 22:26:06 -0500 |
|---|---|---|
| committer | i509VCB <[email protected]> | 2025-03-13 22:26:06 -0500 |
| commit | 9531b7422b0bf231d5782bb60b65eeb823b199ff (patch) | |
| tree | efc75368b0d8f7288770edc28d529d6c4f3f433b /embassy-mspm0/src/lib.rs | |
| parent | e0cdc356ccd7f9e20c2b5355cc52b7eb7610147b (diff) | |
rustfmt...
Diffstat (limited to 'embassy-mspm0/src/lib.rs')
| -rw-r--r-- | embassy-mspm0/src/lib.rs | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/embassy-mspm0/src/lib.rs b/embassy-mspm0/src/lib.rs index ee629f063..1191b1010 100644 --- a/embassy-mspm0/src/lib.rs +++ b/embassy-mspm0/src/lib.rs | |||
| @@ -1,10 +1,6 @@ | |||
| 1 | #![no_std] | 1 | #![no_std] |
| 2 | // Doc feature labels can be tested locally by running RUSTDOCFLAGS="--cfg=docsrs" cargo +nightly doc | 2 | // Doc feature labels can be tested locally by running RUSTDOCFLAGS="--cfg=docsrs" cargo +nightly doc |
| 3 | #![cfg_attr( | 3 | #![cfg_attr(docsrs, feature(doc_auto_cfg, doc_cfg_hide), doc(cfg_hide(doc, docsrs)))] |
| 4 | docsrs, | ||
| 5 | feature(doc_auto_cfg, doc_cfg_hide), | ||
| 6 | doc(cfg_hide(doc, docsrs)) | ||
| 7 | )] | ||
| 8 | 4 | ||
| 9 | // This mod MUST go first, so that the others see its macros. | 5 | // This mod MUST go first, so that the others see its macros. |
| 10 | pub(crate) mod fmt; | 6 | pub(crate) mod fmt; |
| @@ -40,6 +36,7 @@ pub(crate) mod _generated { | |||
| 40 | } | 36 | } |
| 41 | 37 | ||
| 42 | // Reexports | 38 | // Reexports |
| 39 | pub(crate) use _generated::gpio_pincm; | ||
| 43 | pub use _generated::{peripherals, Peripherals}; | 40 | pub use _generated::{peripherals, Peripherals}; |
| 44 | pub use embassy_hal_internal::{into_ref, Peripheral, PeripheralRef}; | 41 | pub use embassy_hal_internal::{into_ref, Peripheral, PeripheralRef}; |
| 45 | #[cfg(feature = "unstable-pac")] | 42 | #[cfg(feature = "unstable-pac")] |
| @@ -48,8 +45,6 @@ pub use mspm0_metapac as pac; | |||
| 48 | pub(crate) use mspm0_metapac as pac; | 45 | pub(crate) use mspm0_metapac as pac; |
| 49 | 46 | ||
| 50 | pub use crate::_generated::interrupt; | 47 | pub use crate::_generated::interrupt; |
| 51 | pub(crate) use _generated::gpio_pincm; | ||
| 52 | |||
| 53 | 48 | ||
| 54 | /// `embassy-mspm0` global configuration. | 49 | /// `embassy-mspm0` global configuration. |
| 55 | #[non_exhaustive] | 50 | #[non_exhaustive] |
