Skip to content

Commit 22c8af2

Browse files
Remove obsolete panic documentation
1 parent 3f49a46 commit 22c8af2

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/exti.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,10 @@ pub trait ExtiExt {
5959
/// Returns whether `line` is currently marked as pending.
6060
fn is_pending<L: ExtiLine>(line: L) -> bool;
6161

62-
/// Enters a low-power mode until an EXTI interrupt occurs.
62+
/// Enters a low-power mode until an interrupt occurs.
6363
///
6464
/// Please note that this method will return after _any_ interrupt that can
6565
/// wake up the microcontroller from the given power mode.
66-
///
67-
/// # Panics
68-
///
69-
/// Panics, if `line` is an invalid EXTI line (reserved or not defined).
70-
/// Check the Reference Manual for a list of valid lines.
7166
fn wait_for_irq<L, M>(&mut self, line: L, power_mode: M)
7267
where L: ExtiLine, M: PowerMode;
7368
}

0 commit comments

Comments
 (0)