Skip to content

Commit 6c6d134

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

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
@@ -1147,14 +1147,12 @@ impl DiagCtxt {
11471147
if error_codes.len() > 9 { "..." } else { "." }
11481148
));
11491149
inner.failure_note(format!(
1150-
"For more information about an error, try \
1151-
`rustc --explain {}`.",
1150+
"For more information about an error, try `rustc --explain {}`.",
11521151
&error_codes[0]
11531152
));
11541153
} else {
11551154
inner.failure_note(format!(
1156-
"For more information about this error, try \
1157-
`rustc --explain {}`.",
1155+
"For more information about this error, try `rustc --explain {}`.",
11581156
&error_codes[0]
11591157
));
11601158
}

0 commit comments

Comments
 (0)