Remove unneeded type annotations where inference will do (#7573)
This PR removes some unneeded type annotations where we're able to infer the type accurately. Release Notes: - N/A
This commit is contained in:
parent
bd390aabf4
commit
9f4ce7fba5
1 changed files with 2 additions and 2 deletions
|
@ -4698,8 +4698,8 @@ impl Editor {
|
|||
let mut selections = selections.iter().peekable();
|
||||
let mut contiguous_row_selections = Vec::new();
|
||||
let mut new_selections = Vec::new();
|
||||
let mut added_lines: usize = 0;
|
||||
let mut removed_lines: usize = 0;
|
||||
let mut added_lines = 0;
|
||||
let mut removed_lines = 0;
|
||||
|
||||
while let Some(selection) = selections.next() {
|
||||
let (start_row, end_row) = consume_contiguous_rows(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue