mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-08 07:35:01 +03:00
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
@ -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…
Reference in New Issue
Block a user