Skip to content

Commit 52fa2aa

Browse files
shadajsylvestre
authored andcommitted
Fix rustfmt
1 parent 4292894 commit 52fa2aa

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/compiler/rust.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1445,7 +1445,12 @@ where
14451445
// These contain paths which aren't relevant to the output, and the compiler inputs
14461446
// in those paths (rlibs and static libs used in the compilation) are used as hash
14471447
// inputs below.
1448-
.filter(|&(arg, _)| !(arg == "--extern" || arg == "-L" || arg == "--out-dir" || arg == "--diagnostic-width"))
1448+
.filter(|&(arg, _)| {
1449+
!(arg == "--extern"
1450+
|| arg == "-L"
1451+
|| arg == "--out-dir"
1452+
|| arg == "--diagnostic-width")
1453+
})
14491454
// We also exclude `--target` if it specifies a path to a .json file. The file content
14501455
// is used as hash input below.
14511456
// If `--target` specifies a string, it continues to be hashed as part of the arguments.

0 commit comments

Comments
 (0)