aboutsummaryrefslogtreecommitdiff
path: root/src/peripheral/nvic.rs
diff options
context:
space:
mode:
authorGravatar bors[bot] <26634292+bors[bot]@users.noreply.github.com> 2021-08-31 12:57:58 +0000
committerGravatar GitHub <noreply@github.com> 2021-08-31 12:57:58 +0000
commit5e01de8fba064cf8b72d6fb60e6467d0ff9d4da9 (patch)
tree8d90b835af1e5ac4ef57651d877a83b09f902d12 /src/peripheral/nvic.rs
parentfafa4b4d204c1f88f17144da7ae228cba450275d (diff)
parentf452f5a995c6ad38c299bd3c2b9ce649d09bf1b3 (diff)
downloadcortex-m-5e01de8fba064cf8b72d6fb60e6467d0ff9d4da9.tar.gz
cortex-m-5e01de8fba064cf8b72d6fb60e6467d0ff9d4da9.tar.zst
cortex-m-5e01de8fba064cf8b72d6fb60e6467d0ff9d4da9.zip
Merge #351
351: Replace URL-relative doc links with intra-doc links r=adamgreig a=newAM This fixes invalid documentation links for crates that re-export `cortex-m`. Co-authored-by: Alex Martens <alexmgit@protonmail.com>
Diffstat (limited to 'src/peripheral/nvic.rs')
-rw-r--r--src/peripheral/nvic.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peripheral/nvic.rs b/src/peripheral/nvic.rs
index 4332707..f0c5457 100644
--- a/src/peripheral/nvic.rs
+++ b/src/peripheral/nvic.rs
@@ -210,7 +210,7 @@ impl NVIC {
/// # Unsafety
///
/// Changing priority levels can break priority-based critical sections (see
- /// [`register::basepri`](../register/basepri/index.html)) and compromise memory safety.
+ /// [`register::basepri`](crate::register::basepri)) and compromise memory safety.
#[inline]
pub unsafe fn set_priority<I>(&mut self, interrupt: I, prio: u8)
where