mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
fix(clippy): match_wildcard_for_single_variants
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user