x if x.starts_with("edition") => {
data.edition = x[7..].parse::<Edition>().ok();
}
- x if allow_error_code_check && x.starts_with("E") && x.len() == 5 => {
+ x if allow_error_code_check && x.starts_with('E') && x.len() == 5 => {
if x[1..].parse::<u32>().is_ok() {
data.error_codes.push(x.to_owned());
seen_rust_tags = !seen_other_tags || seen_rust_tags;