Skip to content

Commit

Permalink
doc: remove #[doc(inline)] from esp-hal-common re-exports
Browse files Browse the repository at this point in the history
  • Loading branch information
icedrocket authored and jessebraham committed Apr 24, 2023
1 parent 5c5d7f9 commit 2b662a8
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 6 deletions.
1 change: 0 additions & 1 deletion esp32-hal/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion esp32c2-hal/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion esp32c3-hal/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
6 changes: 4 additions & 2 deletions esp32s2-hal/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 _;

Expand Down
1 change: 0 additions & 1 deletion esp32s3-hal/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2b662a8

Please sign in to comment.