mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-29 14:00:31 +08:00
clippy: Deny and fix wildcard_enum_match_arm
This commit is contained in:
committed by
Lorenz Leutgeb
parent
001aba0d29
commit
9cc2c869b4
@@ -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,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user