diff --git a/cortex-m-semihosting/src/lib.rs b/cortex-m-semihosting/src/lib.rs index e72dbe67..6a6e9da5 100644 --- a/cortex-m-semihosting/src/lib.rs +++ b/cortex-m-semihosting/src/lib.rs @@ -200,7 +200,7 @@ pub unsafe fn syscall(nr: usize, arg: &T) -> usize { /// /// # Safety /// -/// Same as [`syscall`]. +/// Same as [`syscall()`]. #[inline(always)] pub unsafe fn syscall1(_nr: usize, _arg: usize) -> usize { match () { diff --git a/cortex-m/src/peripheral/dwt.rs b/cortex-m/src/peripheral/dwt.rs index 72575d37..05657f33 100644 --- a/cortex-m/src/peripheral/dwt.rs +++ b/cortex-m/src/peripheral/dwt.rs @@ -368,7 +368,7 @@ pub enum EmitOption { WatchpointDebugEvent, /// Generate a `CMPMATCH[N]` event. /// - /// See more in section "CMPMATCH[N] event generation" page C1-730. + /// See more in section "`CMPMATCH[N]` event generation" page C1-730. CompareMatchEvent, }