clippy: Deny and fix wildcard_enum_match_arm

This commit is contained in:
Adrian Duke
2026-01-16 22:52:23 +01:00
committed by Lorenz Leutgeb
parent 001aba0d29
commit 9cc2c869b4
8 changed files with 20 additions and 10 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ impl Error {
match self {
Self::UnexpectedEof => true,
Self::Io(e) => e.kind() == io::ErrorKind::UnexpectedEof,
_ => false,
Self::Syntax(_) | Self::ParseInt(_) | Self::Utf8(_) => false,
}
}
}