Skip to content

Commit 1fb1fa5

Browse files
committed
Fix comment typos
1 parent a2747b1 commit 1fb1fa5

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/serial.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -722,9 +722,10 @@ where
722722
self.usart.isr.read().busy().bit_is_set()
723723
}
724724

725-
/// Obtain the assocated intterupt number for the serial peripheral.
725+
/// Obtain the associated interrupt number for the serial peripheral.
726726
///
727-
/// Used to unmask / enable the interrupt with [`cortex_m::peripheral::NVIC::unmask()`]
727+
///
728+
/// Used to unmask / enable the interrupt with [`cortex_m::peripheral::NVIC::unmask()`].
728729
/// This is useful for all `cortex_m::peripheral::INTERRUPT` functions.
729730
///
730731
/// # Note

src/timer.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,9 @@ where
136136
self.configure_interrupt(event, false);
137137
}
138138

139-
/// Obtain the assocated intterupt number for the serial peripheral.
139+
/// Obtain the associated interupt number for the serial peripheral.
140140
///
141-
/// Used to unmask / enable the interrupt with [`cortex_m::peripheral::NVIC::unmask()`]
141+
/// Used to unmask / enable the interrupt with [`cortex_m::peripheral::NVIC::unmask()`].
142142
/// This is useful for all `cortex_m::peripheral::INTERRUPT` functions.
143143
///
144144
/// # Note

0 commit comments

Comments
 (0)