From 38dfcb7ffcb1376d0eb1f37869236e08792b9305 Mon Sep 17 00:00:00 2001 From: Alex Martens Date: Sun, 30 Jun 2024 16:40:00 -0700 Subject: [PATCH] Fix dead/ambiguous links --- cortex-m-semihosting/src/lib.rs | 2 +- cortex-m/src/peripheral/dwt.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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, }