Skip to content

Commit

Permalink
Hide PAC aliases to declutter docs (#276)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheZoq2 authored Oct 15, 2020
1 parent 2f7c45e commit ef59068
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,12 @@ pub use stm32f1::stm32f107 as pac;

#[cfg(feature = "device-selected")]
#[deprecated(since = "0.6.0", note = "please use `pac` instead")]
#[doc(hidden)]
pub use crate::pac as device;

#[cfg(feature = "device-selected")]
#[deprecated(since = "0.6.0", note = "please use `pac` instead")]
#[doc(hidden)]
pub use crate::pac as stm32;

#[cfg(feature = "device-selected")]
Expand Down

0 comments on commit ef59068

Please sign in to comment.