Skip to content

Commit 093c56a

Browse files
committed
refactor(kernel): ignore the clippy::extra_unused_type_parameters lint in unboost_priority
`r3_kernel::state::unboost_priority` triggers this lint when `cfg(not(feature = "priority_boost"))`.
1 parent 50650fa commit 093c56a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/r3_kernel/src/state.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ pub(super) fn unboost_priority<Traits: KernelTraits>() -> Result<(), BoostPriori
6161

6262
/// Implements `Kernel::unboost_priority`.
6363
#[cfg(not(feature = "priority_boost"))]
64+
#[expect(clippy::extra_unused_type_parameters)]
6465
pub(super) fn unboost_priority<Traits: KernelTraits>() -> Result<(), BoostPriorityError> {
6566
// Priority Boost is disabled statically, so this function will always
6667
// return `BadContext`

0 commit comments

Comments
 (0)