Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 6f147af

Browse files
committed
Remove unnecessary line breaks from two string literals.
1 parent a108a3b commit 6f147af

File tree

1 file changed

+2
-4
lines changed
  • compiler/rustc_errors/src

1 file changed

+2
-4
lines changed

compiler/rustc_errors/src/lib.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1160,14 +1160,12 @@ impl DiagCtxt {
11601160
if error_codes.len() > 9 { "..." } else { "." }
11611161
));
11621162
inner.failure_note(format!(
1163-
"For more information about an error, try \
1164-
`rustc --explain {}`.",
1163+
"For more information about an error, try `rustc --explain {}`.",
11651164
&error_codes[0]
11661165
));
11671166
} else {
11681167
inner.failure_note(format!(
1169-
"For more information about this error, try \
1170-
`rustc --explain {}`.",
1168+
"For more information about this error, try `rustc --explain {}`.",
11711169
&error_codes[0]
11721170
));
11731171
}

0 commit comments

Comments
 (0)