Skip to content

Commit 94985be

Browse files
committed
Fix unnecessary_semicolon lint issues
1 parent 0d92c67 commit 94985be

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/process.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ impl<ModuleProvider: module::ModuleProvider> Process<ModuleProvider> {
170170
}
171171
},
172172
_ => {},
173-
};
173+
}
174174
results
175175
}
176176

src/search/thread.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ where UpdateHandler: UpdateHandlerFn + 'static
5454
Action::Cancel => {
5555
if let Some(searchable) = active_searchable.as_mut() {
5656
searchable.reset();
57-
};
57+
}
5858
search_complete = true;
5959
search_term.clear();
6060
},

src/todo_file/utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ pub(crate) fn remove_range(lines: &mut Vec<Line>, start_index: usize, end_index:
3636
for _ in start_index..=end_index {
3737
removed_lines.push(lines.remove(start_index));
3838
}
39-
};
39+
}
4040

4141
removed_lines
4242
}

src/util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ pub(crate) fn handle_view_data_scroll(event: Event, view_state: &crate::view::St
3939
Event::Standard(StandardEvent::ScrollJumpDown) => view_state.scroll_page_down(),
4040
Event::Standard(StandardEvent::ScrollJumpUp) => view_state.scroll_page_up(),
4141
_ => return None,
42-
};
42+
}
4343
Some(Results::new())
4444
}
4545

0 commit comments

Comments
 (0)