1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-27 19:17:43 +00:00

fix(clippy): match_wildcard_for_single_variants

This commit is contained in:
Gabriele Belluardo 2025-06-17 00:02:13 +02:00
parent 9319c4f8cf
commit edfcc2b400
No known key found for this signature in database
GPG key ID: 21671B8C89CCBF4F

View file

@ -671,7 +671,7 @@ impl LineInfo {
match cached_format {
LineFormat::Untagged => LineFormat::parse_untagged(line_bytes),
LineFormat::SingleSpace => LineFormat::parse_single_space(line_bytes),
_ => unreachable!("we never catch the algo based format"),
LineFormat::AlgoBased => unreachable!("we never catch the algo based format"),
}
} else if let Some(info) = LineFormat::parse_untagged(line_bytes) {
*cached_line_format = Some(LineFormat::Untagged);