Skip to content

Commit 77c63bc

Browse files
committed
fmt
1 parent 5f0b85a commit 77c63bc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/bootstrap/src/core/sanity.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -259,18 +259,18 @@ than building it.
259259
has_target |= STAGE0_MISSING_TARGETS.contains(&target_str.as_str());
260260

261261
if !has_target {
262-
// This might also be a custom target, so check the target file that could have been specified by the user.
262+
// This might also be a custom target, so check the target file that could have been specified by the user.
263263
if target.filepath().is_some_and(|p| p.exists()) {
264264
has_target = true;
265265
} else if let Some(custom_target_path) = env::var_os("RUST_TARGET_PATH") {
266266
let mut target_filename = OsString::from(&target_str);
267267
// Target filename ends with `.json`.
268268
target_filename.push(".json");
269-
269+
270270
// Recursively traverse through nested directories.
271271
let walker = walkdir::WalkDir::new(custom_target_path).into_iter();
272272
for entry in walker.filter_map(|e| e.ok()) {
273-
has_target |= entry.file_name() == target_filename;
273+
has_target |= entry.file_name() == target_filename;
274274
}
275275
}
276276
}

0 commit comments

Comments
 (0)