From faed47b3d31d2bf533aac489046ed9efc30f239d Mon Sep 17 00:00:00 2001 From: Jon Gjengset Date: Thu, 17 Dec 2020 10:24:58 -0800 Subject: Fun times with rustfmt --- crates/project_model/src/cargo_workspace.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'crates/project_model') diff --git a/crates/project_model/src/cargo_workspace.rs b/crates/project_model/src/cargo_workspace.rs index 4d339d9c0..bb3b6f2ef 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 { -- cgit v1.2.3