Skip to content

Commit 5e01de8

Browse files
bors[bot]newAM
andauthored
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 <[email protected]>
2 parents fafa4b4 + f452f5a commit 5e01de8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: src/peripheral/nvic.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ impl NVIC {
210210
/// # Unsafety
211211
///
212212
/// Changing priority levels can break priority-based critical sections (see
213-
/// [`register::basepri`](../register/basepri/index.html)) and compromise memory safety.
213+
/// [`register::basepri`](crate::register::basepri)) and compromise memory safety.
214214
#[inline]
215215
pub unsafe fn set_priority<I>(&mut self, interrupt: I, prio: u8)
216216
where

Diff for: src/peripheral/scb.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -994,7 +994,7 @@ impl SCB {
994994
/// # Unsafety
995995
///
996996
/// Changing priority levels can break priority-based critical sections (see
997-
/// [`register::basepri`](../register/basepri/index.html)) and compromise memory safety.
997+
/// [`register::basepri`](crate::register::basepri)) and compromise memory safety.
998998
#[inline]
999999
pub unsafe fn set_priority(&mut self, system_handler: SystemHandler, prio: u8) {
10001000
let index = system_handler as u8;

0 commit comments

Comments
 (0)