Skip to content

Commit 51f67aa

Browse files
committed
doc(test_suite): fix broken intra-doc links
1 parent 8b0bdb8 commit 51f67aa

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

src/r3_test_suite/src/lib.rs

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,13 @@ pub mod kernel_tests {
6161
///
6262
/// - There must be no duplicates.
6363
///
64-
/// - The port must support [`enable_interrupt_line`],
65-
/// [`disable_interrupt_line`], [`pend_interrupt_line`] for all of
66-
/// the specified interrupt lines.
64+
/// - The kernel must support [`InterruptLine::enable`][1],
65+
/// [`InterruptLine::disable`][2], [`InterruptLine::pend`][3] for all
66+
/// of the specified interrupt lines.
6767
///
68-
/// [`enable_interrupt_line`]: r3::kernel::PortInterrupts::enable_interrupt_line
69-
/// [`disable_interrupt_line`]: r3::kernel::PortInterrupts::disable_interrupt_line
70-
/// [`pend_interrupt_line`]: r3::kernel::PortInterrupts::pend_interrupt_line
68+
/// [1]: r3::kernel::InterruptLine::enable
69+
/// [2]: r3::kernel::InterruptLine::disable
70+
/// [3]: r3::kernel::InterruptLine::pend
7171
const INTERRUPT_LINES: &'static [InterruptNum] = &[];
7272

7373
/// Valid managed priority values.
@@ -77,13 +77,13 @@ pub mod kernel_tests {
7777
/// least two for all test cases to run.
7878
///
7979
/// - All elements must be in range
80-
/// [`MANAGED_INTERRUPT_PRIORITY_RANGE`].
80+
/// [`RAW_MANAGED_INTERRUPT_PRIORITY_RANGE`].
8181
///
8282
/// - The elements must be sorted in a descending order of priority.
8383
/// That is, for every pair of adjacent elements `[p[i], p[i + 1]]`,
8484
/// `p[i]` should be high enough to preempt `p[o + 1]`.
8585
///
86-
/// [`MANAGED_INTERRUPT_PRIORITY_RANGE`]: r3::kernel::PortInterrupts::MANAGED_INTERRUPT_PRIORITY_RANGE
86+
/// [`RAW_MANAGED_INTERRUPT_PRIORITY_RANGE`]: r3::kernel::raw::KernelInterruptLine::RAW_MANAGED_INTERRUPT_PRIORITY_RANGE
8787
const INTERRUPT_PRIORITIES: &'static [InterruptPriority] = &[];
8888

8989
/// Valid unmanaged priority values.
@@ -93,7 +93,7 @@ pub mod kernel_tests {
9393
/// least one for all test cases to run.
9494
///
9595
/// - No elements must be in range
96-
/// [`MANAGED_INTERRUPT_PRIORITY_RANGE`].
96+
/// [`RAW_MANAGED_INTERRUPT_PRIORITY_RANGE`].
9797
///
9898
/// - The elements must be sorted in a descending order of priority.
9999
/// That is, for every pair of adjacent elements `[p[i], p[i + 1]]`,
@@ -104,7 +104,7 @@ pub mod kernel_tests {
104104
/// in [`INTERRUPT_PRIORITIES`], `pri_unmanaged` should be high
105105
/// enough to preempt `pri_managed`.
106106
///
107-
/// [`MANAGED_INTERRUPT_PRIORITY_RANGE`]: r3::kernel::PortInterrupts::MANAGED_INTERRUPT_PRIORITY_RANGE
107+
/// [`RAW_MANAGED_INTERRUPT_PRIORITY_RANGE`]: r3::kernel::raw::KernelInterruptLine::RAW_MANAGED_INTERRUPT_PRIORITY_RANGE
108108
/// [`INTERRUPT_PRIORITIES`]: Self::INTERRUPT_PRIORITIES
109109
///
110110
const UNMANAGED_INTERRUPT_PRIORITIES: &'static [InterruptPriority] = &[];
@@ -341,13 +341,13 @@ pub mod kernel_benchmarks {
341341
///
342342
/// - There must be no duplicates.
343343
///
344-
/// - The port must support [`enable_interrupt_line`],
345-
/// [`disable_interrupt_line`], [`pend_interrupt_line`] for all of
346-
/// the specified interrupt lines.
344+
/// - The kernel must support [`InterruptLine::enable`][1],
345+
/// [`InterruptLine::disable`][2], [`InterruptLine::pend`][3] for all
346+
/// of the specified interrupt lines.
347347
///
348-
/// [`enable_interrupt_line`]: r3::kernel::PortInterrupts::enable_interrupt_line
349-
/// [`disable_interrupt_line`]: r3::kernel::PortInterrupts::disable_interrupt_line
350-
/// [`pend_interrupt_line`]: r3::kernel::PortInterrupts::pend_interrupt_line
348+
/// [1]: r3::kernel::InterruptLine::enable
349+
/// [2]: r3::kernel::InterruptLine::disable
350+
/// [3]: r3::kernel::InterruptLine::pend
351351
const INTERRUPT_LINES: &'static [InterruptNum] = &[];
352352

353353
/// Valid priority values.
@@ -357,13 +357,13 @@ pub mod kernel_benchmarks {
357357
/// least two for all test cases to run.
358358
///
359359
/// - All elements must be in range
360-
/// [`MANAGED_INTERRUPT_PRIORITY_RANGE`].
360+
/// [`RAW_MANAGED_INTERRUPT_PRIORITY_RANGE`].
361361
///
362362
/// - The elements must be sorted in a descending order of priority.
363363
/// That is, for every pair of adjacent elements `[p[i], p[i + 1]]`,
364364
/// `p[i]` should be high enough to preempt `p[o + 1]`.
365365
///
366-
/// [`MANAGED_INTERRUPT_PRIORITY_RANGE`]: r3::kernel::PortInterrupts::MANAGED_INTERRUPT_PRIORITY_RANGE
366+
/// [`RAW_MANAGED_INTERRUPT_PRIORITY_RANGE`]: r3::kernel::raw::KernelInterruptLine::RAW_MANAGED_INTERRUPT_PRIORITY_RANGE
367367
const INTERRUPT_PRIORITIES: &'static [InterruptPriority] = &[];
368368
}
369369

0 commit comments

Comments
 (0)