Skip to content

Commit cca35b9

Browse files
committed
Feed the dog
1 parent a3733d4 commit cca35b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/driver.rs

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

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

275275
if backtrace {
276276
TyCtxt::try_print_query_stack(&handler);

0 commit comments

Comments
 (0)