Skip to content

Commit b2a0b72

Browse files
committed
fmt
1 parent e91e038 commit b2a0b72

File tree

1 file changed

+3
-1
lines changed
  • compiler/rustc_target/src/spec

1 file changed

+3
-1
lines changed

compiler/rustc_target/src/spec/mod.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3716,7 +3716,9 @@ impl TargetTriple {
37163716
const EXT: &'static str = ".json";
37173717
triple.as_ref().ends_with(EXT) || {
37183718
let s = triple.as_ref();
3719-
s.get(s.len().wrapping_sub(EXT.len())..).map(|ext| ext.eq_ignore_ascii_case(EXT)).unwrap_or_default()
3719+
s.get(s.len().wrapping_sub(EXT.len())..)
3720+
.map(|ext| ext.eq_ignore_ascii_case(EXT))
3721+
.unwrap_or_default()
37203722
}
37213723
}
37223724
}

0 commit comments

Comments
 (0)