@@ -55,11 +55,10 @@ pub unsafe trait KernelBase: fmt::Debug + Copy + Sized + 'static {
55
55
///
56
56
/// # Safety
57
57
///
58
- /// See the [Safety][2 ] section of `Kernel::release_cpu_lock`'s
58
+ /// See the [Safety][1 ] section of `Kernel::release_cpu_lock`'s
59
59
/// documentation.
60
60
///
61
61
/// [1]: crate::kernel::Kernel::release_cpu_lock
62
- /// [2]: crate::kernel::Kernel::release_cpu_lock#safety
63
62
unsafe fn raw_release_cpu_lock ( ) -> Result < ( ) , CpuLockError > ;
64
63
65
64
/// Return a flag indicating whether CPU Lock is currently active.
@@ -69,11 +68,10 @@ pub unsafe trait KernelBase: fmt::Debug + Copy + Sized + 'static {
69
68
///
70
69
/// # Safety
71
70
///
72
- /// See the [Safety][2 ] section of `Kernel::unboost_priority`'s
71
+ /// See the [Safety][1 ] section of `Kernel::unboost_priority`'s
73
72
/// documentation.
74
73
///
75
74
/// [1]: crate::kernel::Kernel::unboost_priority
76
- /// [2]: crate::kernel::Kernel::unboost_priority#safety
77
75
unsafe fn raw_unboost_priority ( ) -> Result < ( ) , BoostPriorityError > ;
78
76
79
77
/// Implements [`Kernel::is_priority_boost_active`][1].
@@ -107,11 +105,10 @@ pub unsafe trait KernelBase: fmt::Debug + Copy + Sized + 'static {
107
105
///
108
106
/// # Safety
109
107
///
110
- /// See the [Safety][2 ] section of `Kernel::exit_task`'s
108
+ /// See the [Safety][1 ] section of `Kernel::exit_task`'s
111
109
/// documentation.
112
110
///
113
111
/// [1]: crate::kernel::Kernel::exit_task
114
- /// [2]: crate::kernel::Kernel::exit_task#safety
115
112
unsafe fn raw_exit_task ( ) -> Result < !, ExitTaskError > ;
116
113
117
114
/// Implements [`Kernel::park`][1].
0 commit comments