File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -96,16 +96,11 @@ fn track_files(psess: &mut ParseSess) {
9696
9797 // During development track the `clippy-driver` executable so that cargo will re-run clippy whenever
9898 // it is rebuilt
99- #[ expect(
100- clippy:: collapsible_if,
101- reason = "Due to a bug in let_chains this if statement can't be collapsed"
102- ) ]
103- if cfg ! ( debug_assertions) {
104- if let Ok ( current_exe) = env:: current_exe ( )
105- && let Some ( current_exe) = current_exe. to_str ( )
106- {
107- file_depinfo. insert ( Symbol :: intern ( current_exe) ) ;
108- }
99+ if cfg ! ( debug_assertions)
100+ && let Ok ( current_exe) = env:: current_exe ( )
101+ && let Some ( current_exe) = current_exe. to_str ( )
102+ {
103+ file_depinfo. insert ( Symbol :: intern ( current_exe) ) ;
109104 }
110105}
111106
You can’t perform that action at this time.
0 commit comments