Merge pull request #372 from 9names/fix_bsp_pins_docs

Add missing open paren in bsp_pins doc macro
This commit is contained in:
Jan Niehusmann 2022-07-09 12:40:16 +02:00 committed by GitHub
commit 3c4d8f0b43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1235,7 +1235,7 @@ macro_rules! bsp_pins {
<$crate::gpio::bank0::$Id as $crate::gpio::PinId>::DYN; <$crate::gpio::bank0::$Id as $crate::gpio::PinId>::DYN;
$( #[$attr] )* $( #[$attr] )*
#[doc = "[DynPinMode]rp2040_hal::gpio::DynPinMode) "] #[doc = "[DynPinMode](rp2040_hal::gpio::DynPinMode) "]
#[doc = "for the `" $Alias "` alias."] #[doc = "for the `" $Alias "` alias."]
pub const [<$Alias:snake:upper _MODE>]: $crate::gpio::DynPinMode = pub const [<$Alias:snake:upper _MODE>]: $crate::gpio::DynPinMode =
<$crate::gpio::$Mode as $crate::gpio::PinMode>::DYN; <$crate::gpio::$Mode as $crate::gpio::PinMode>::DYN;