nrf: wdt: Fix formatting for Safety section
This commit is contained in:
parent
2767b14a4e
commit
2e8d9dba14
@ -184,8 +184,9 @@ impl WatchdogHandle {
|
|||||||
|
|
||||||
/// Steal a watchdog handle by index.
|
/// Steal a watchdog handle by index.
|
||||||
///
|
///
|
||||||
/// Safety: watchdog must be initialized, index must be between 0 and N-1 where
|
/// # Safety
|
||||||
/// N is the handle count when initializing.
|
/// Watchdog must be initialized and `index` must be between `0` and `N-1`
|
||||||
|
/// where `N` is the handle count when initializing.
|
||||||
pub unsafe fn steal(index: u8) -> Self {
|
pub unsafe fn steal(index: u8) -> Self {
|
||||||
Self { index }
|
Self { index }
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user