Skip to content

Commit 3bfa78f

Browse files
committed
Fix deprecation notice typo
1 parent e069b0e commit 3bfa78f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/gpio.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ macro_rules! af {
713713
Index: marker::Index,
714714
{
715715
/// Configures the pin to operate as an alternate function push-pull output pin
716-
#[deprecated(since = "0.9.0", note = "Will be removed with the next version. Use `info_af_push_pull()` instead")]
716+
#[deprecated(since = "0.9.0", note = "Will be removed with the next version. Use `into_af_push_pull()` instead")]
717717
pub fn $into_afi_push_pull(
718718
self,
719719
moder: &mut Gpio::MODER,
@@ -724,7 +724,7 @@ macro_rules! af {
724724
}
725725

726726
/// Configures the pin to operate as an alternate function open-drain output pin
727-
#[deprecated(since = "0.9.0", note = "Will be removed with the next version. Use `info_af_open_drain()` instead")]
727+
#[deprecated(since = "0.9.0", note = "Will be removed with the next version. Use `into_af_open_drain()` instead")]
728728
pub fn $into_afi_open_drain(
729729
self,
730730
moder: &mut Gpio::MODER,

0 commit comments

Comments
 (0)