diff --git a/crates/project_model/src/cargo_workspace.rs b/crates/project_model/src/cargo_workspace.rs index 4d339d9c02..bb3b6f2efb 100644 --- a/crates/project_model/src/cargo_workspace.rs +++ b/crates/project_model/src/cargo_workspace.rs @@ -178,8 +178,7 @@ impl CargoWorkspace { match utf8_stdout(rustc) { Ok(stdout) => { let field = "host: "; - let target = - stdout.lines().find_map(|l| l.strip_prefix(field)); + let target = stdout.lines().find_map(|l| l.strip_prefix(field)); if let Some(target) = target { Some(target.to_string()) } else {