Skip to content

Commit 4287e9e

Browse files
committed
Feed the dog
1 parent 1814964 commit 4287e9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/driver.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ fn report_clippy_ice(info: &panic::PanicInfo<'_>, bug_report_url: &str) {
301301
}
302302

303303
// If backtraces are enabled, also print the query stack
304-
let backtrace = std::env::var_os("RUST_BACKTRACE").map(|x| &x != "0").unwrap_or(false);
304+
let backtrace = std::env::var_os("RUST_BACKTRACE").map_or(false, |x| &x != "0");
305305

306306
if backtrace {
307307
TyCtxt::try_print_query_stack(&handler);

0 commit comments

Comments
 (0)