Skip to content

Commit 1e85dd0

Browse files
committed
itm: fix intra-doc links
1 parent 189c3e4 commit 1e85dd0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/peripheral/itm.rs

+4-3
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,8 @@ pub enum ITMConfigurationError {
211211
impl ITM {
212212
/// Disengage the software lock on the [`ITM`]. Must be called
213213
/// before any mutating [`ITM`] functions if a software lock
214-
/// mechanism is implemented. See [`has_software_lock`].
214+
/// mechanism is implemented. See
215+
/// [`has_software_lock`](ITM::has_software_lock).
215216
///
216217
/// See (coresight, B2.3.10).
217218
#[inline]
@@ -231,8 +232,8 @@ impl ITM {
231232
}
232233

233234
/// Checks whether the target implements the software lock
234-
/// mechanism. If `true`, [`unlock`] must be called before any other
235-
/// mutating [`ITM`] functions.
235+
/// mechanism. If `true`, [`unlock`](ITM::unlock) must be called
236+
/// before any other mutating [`ITM`] functions.
236237
///
237238
/// See (coresight, B2.3.10).
238239
#[inline]

0 commit comments

Comments
 (0)