Skip to content

Commit 53d434f

Browse files
tangaactangaac
authored andcommitted
style: run cargo fmt to satisfy rustfmt CI check
1 parent d277baf commit 53d434f

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

build.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,9 +229,7 @@ fn can_compile<T: AsRef<str>>(test: T) -> bool {
229229
// Use `RUSTC_WRAPPER` if it's set, unless it's set to an empty string, as
230230
// documented [here].
231231
// [here]: https://doc.rust-lang.org/cargo/reference/environment-variables.html#environment-variables-cargo-reads
232-
let wrapper = var("RUSTC_WRAPPER")
233-
.ok()
234-
.filter(|w| !w.is_empty());
232+
let wrapper = var("RUSTC_WRAPPER").ok().filter(|w| !w.is_empty());
235233

236234
let mut cmd = if let Some(wrapper) = wrapper {
237235
let mut cmd = std::process::Command::new(wrapper);

0 commit comments

Comments
 (0)