more clippy::style fixes:
get_first single_char_add_str unnecessary_mut_passed manual_map manual_is_ascii_check
This commit is contained in:
parent
ed4c5fef72
commit
af2b370100
8 changed files with 12 additions and 20 deletions
|
@ -1041,10 +1041,7 @@ fn debug_dump<'a, 'tcx: 'a>(tcx: TyCtxt<'tcx>, label: &str, cgus: &[CodegenUnit<
|
|||
}
|
||||
elem(curr, curr_count);
|
||||
|
||||
let mut s = "[".to_string();
|
||||
s.push_str(&v.join(", "));
|
||||
s.push_str("]");
|
||||
s
|
||||
format!("[{}]", v.join(", "))
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue