Skip to content

Commit 192650a

Browse files
committed
Fix tidy warnings
1 parent 4210409 commit 192650a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/librustc_session/session.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1127,8 +1127,12 @@ fn validate_commandline_args_with_session_available(sess: &Session) {
11271127

11281128
// Sanitizers can only be used on some tested platforms.
11291129
if let Some(ref sanitizer) = sess.opts.debugging_opts.sanitizer {
1130-
const ASAN_SUPPORTED_TARGETS: &[&str] =
1131-
&["x86_64-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-fuchsia", "aarch64-fuchsia" ];
1130+
const ASAN_SUPPORTED_TARGETS: &[&str] = &[
1131+
"x86_64-unknown-linux-gnu",
1132+
"x86_64-apple-darwin",
1133+
"x86_64-fuchsia",
1134+
"aarch64-fuchsia",
1135+
];
11321136
const TSAN_SUPPORTED_TARGETS: &[&str] =
11331137
&["x86_64-unknown-linux-gnu", "x86_64-apple-darwin"];
11341138
const LSAN_SUPPORTED_TARGETS: &[&str] =

0 commit comments

Comments
 (0)