mirror of
https://github.com/kanidm/kanidm.git
synced 2025-06-04 07:13:54 +02:00
Made Clippy Happy
This commit is contained in:
parent
d63364d870
commit
1ee63dc605
|
@ -1662,7 +1662,7 @@ impl FilterResolved {
|
|||
| FilterResolved::Inclusion(_, sf)
|
||||
| FilterResolved::AndNot(_, sf) => *sf,
|
||||
// We hard code 1 because there is no slope for an invlid filter
|
||||
FilterResolved::Invalid(_) => Some(NonZeroU8::new(1).expect("1 is always valid")),
|
||||
FilterResolved::Invalid(_) => NonZeroU8::new(1),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue