Enable clippy::redundant_locals (#8750)
This PR enables the [`clippy::redundant_locals`](https://rust-lang.github.io/rust-clippy/master/index.html#/redundant_locals) rule and fixes the outstanding violations. Release Notes: - N/A
This commit is contained in:
@@ -871,7 +871,6 @@ impl Workspace {
|
||||
|
||||
cx.open_window(options, {
|
||||
let app_state = app_state.clone();
|
||||
let workspace_id = workspace_id;
|
||||
let project_handle = project_handle.clone();
|
||||
move |cx| {
|
||||
cx.new_view(|cx| {
|
||||
|
||||
Reference in New Issue
Block a user