Fix clippy warnings.
This commit fixes the current set of (stable) clippy warnings in the repo.
This commit is contained in:
committed by
Andrew Brown
parent
1176e4f178
commit
9f506692c2
@@ -324,7 +324,7 @@ pub mod detail {
|
||||
/// offset field has a different meaning when the detail is a preset.
|
||||
pub fn is_preset(self) -> bool {
|
||||
match self {
|
||||
Detail::Preset => true,
|
||||
Self::Preset => true,
|
||||
_ => false,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user