File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 16
16
#![ feature( const_mut_refs) ]
17
17
#![ feature( never_type) ] // `!`
18
18
#![ feature( decl_macro) ]
19
+ #![ feature( doc_cfg) ] // `#[doc(cfg(...))]`
19
20
#![ deny( unsafe_op_in_unsafe_fn) ]
20
21
#![ deny( unsupported_naked_functions) ]
21
22
#![ doc = include_str ! ( "./lib.md" ) ]
@@ -277,6 +278,7 @@ unsafe impl<Traits: KernelTraits> raw::KernelTaskSetPriority for System<Traits>
277
278
}
278
279
279
280
#[ cfg( feature = "priority_boost" ) ]
281
+ #[ doc( cfg( feature = "priority_boost" ) ) ]
280
282
unsafe impl < Traits : KernelTraits > raw:: KernelBoostPriority for System < Traits > {
281
283
#[ cfg_attr( not( feature = "inline_syscall" ) , inline( never) ) ]
282
284
fn raw_boost_priority ( ) -> Result < ( ) , r3:: kernel:: BoostPriorityError > {
@@ -285,6 +287,7 @@ unsafe impl<Traits: KernelTraits> raw::KernelBoostPriority for System<Traits> {
285
287
}
286
288
287
289
#[ cfg( feature = "system_time" ) ]
290
+ #[ doc( cfg( feature = "system_time" ) ) ]
288
291
unsafe impl < Traits : KernelTraits > raw:: KernelTime for System < Traits > {
289
292
#[ cfg_attr( not( feature = "inline_syscall" ) , inline( never) ) ]
290
293
fn raw_time ( ) -> Result < Time , r3:: kernel:: TimeError > {
You can’t perform that action at this time.
0 commit comments