From 2b662a84867abc2a781635103ef66a2e6ae6a489 Mon Sep 17 00:00:00 2001 From: icedrocket <114203630+icedrocket@users.noreply.github.com> Date: Sat, 22 Apr 2023 00:32:32 +0900 Subject: [PATCH] doc: remove `#[doc(inline)]` from esp-hal-common re-exports --- esp32-hal/src/lib.rs | 1 - esp32c2-hal/src/lib.rs | 1 - esp32c3-hal/src/lib.rs | 1 - esp32s2-hal/src/lib.rs | 6 ++++-- esp32s3-hal/src/lib.rs | 1 - 5 files changed, 4 insertions(+), 6 deletions(-) diff --git a/esp32-hal/src/lib.rs b/esp32-hal/src/lib.rs index 8f121eae687..3317ac7330c 100644 --- a/esp32-hal/src/lib.rs +++ b/esp32-hal/src/lib.rs @@ -4,7 +4,6 @@ pub use embedded_hal as ehal; #[cfg(feature = "embassy")] pub use esp_hal_common::embassy; -#[doc(inline)] pub use esp_hal_common::*; pub use self::gpio::IO; diff --git a/esp32c2-hal/src/lib.rs b/esp32c2-hal/src/lib.rs index 8a7ec20d5de..d076b937313 100644 --- a/esp32c2-hal/src/lib.rs +++ b/esp32c2-hal/src/lib.rs @@ -4,7 +4,6 @@ pub use embedded_hal as ehal; #[cfg(feature = "embassy")] pub use esp_hal_common::embassy; -#[doc(inline)] pub use esp_hal_common::*; pub use self::gpio::IO; diff --git a/esp32c3-hal/src/lib.rs b/esp32c3-hal/src/lib.rs index 9e6252382ba..5bd1fbcef9b 100644 --- a/esp32c3-hal/src/lib.rs +++ b/esp32c3-hal/src/lib.rs @@ -7,7 +7,6 @@ use core::mem::size_of; pub use embedded_hal as ehal; #[cfg(feature = "embassy")] pub use esp_hal_common::embassy; -#[doc(inline)] pub use esp_hal_common::*; pub use self::gpio::IO; diff --git a/esp32s2-hal/src/lib.rs b/esp32s2-hal/src/lib.rs index 42671237b35..2bbd61d2169 100644 --- a/esp32s2-hal/src/lib.rs +++ b/esp32s2-hal/src/lib.rs @@ -4,9 +4,11 @@ pub use embedded_hal as ehal; #[cfg(feature = "embassy")] pub use esp_hal_common::embassy; -use esp_hal_common::xtensa_lx_rt::exception::ExceptionCause; -#[doc(inline)] pub use esp_hal_common::*; + +#[rustfmt::skip] +use esp_hal_common::xtensa_lx_rt::exception::ExceptionCause; + // Always enable atomic emulation on ESP32-S2 use xtensa_atomic_emulation_trap as _; diff --git a/esp32s3-hal/src/lib.rs b/esp32s3-hal/src/lib.rs index e1cf60278b7..edd82330e1c 100644 --- a/esp32s3-hal/src/lib.rs +++ b/esp32s3-hal/src/lib.rs @@ -9,7 +9,6 @@ pub use embedded_hal as ehal; #[cfg(feature = "embassy")] pub use esp_hal_common::embassy; -#[doc(inline)] pub use esp_hal_common::*; pub use self::gpio::IO;