Skip to content

Commit 750012a

Browse files
committed
rustdoc nitfixes
1 parent 1a238a2 commit 750012a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hal/src/peripherals/flash_controller.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ unsafe extern "C" {
8989
/// the current system clock, and `div` is the divider of the system clock.
9090
/// - `sys_clk_freq` must be divisible by one million (`1_000_000`).
9191
/// - If `address` erases a page in the currently-running program's instruction space,
92-
/// it must be rewritten with [`write128`] before the program reaches those instructions.
92+
/// it must be rewritten with `write128` before the program reaches those instructions.
9393
///
9494
/// Panics if any of the following preconditions are not true:
9595
/// - `address` must point to within a valid page in flash space (`0x1000_000..=0x1007_ffff`)
@@ -100,7 +100,7 @@ unsafe extern "C" {
100100
///
101101
/// Safety:
102102
/// - The caller must hold a shared reference to the [`FLC`], [`ICC0`], and [`GCR`] registers.
103-
/// - The flash word at `address` must be in the *erased* state (with [`page_erase`]).
103+
/// - The flash word at `address` must be in the *erased* state (with `page_erase`).
104104
/// - `data` must point to an array of four `u32`s.
105105
/// - `sys_clk_freq` must be equal to `freq / div` where `freq` is the frequency of
106106
/// the current system clock, and `div` is the divider of the system clock.

0 commit comments

Comments
 (0)