Skip to content

Commit faed47b

Browse files
author
Jon Gjengset
committed
Fun times with rustfmt
1 parent 71478e0 commit faed47b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

crates/project_model/src/cargo_workspace.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,7 @@ impl CargoWorkspace {
178178
match utf8_stdout(rustc) {
179179
Ok(stdout) => {
180180
let field = "host: ";
181-
let target =
182-
stdout.lines().find_map(|l| l.strip_prefix(field));
181+
let target = stdout.lines().find_map(|l| l.strip_prefix(field));
183182
if let Some(target) = target {
184183
Some(target.to_string())
185184
} else {

0 commit comments

Comments
 (0)