Remove unnecessary line breaks from two string literals.
This commit is contained in:
parent
a108a3bd8e
commit
6f147afea9
1 changed files with 2 additions and 4 deletions
|
@ -1160,14 +1160,12 @@ impl DiagCtxt {
|
||||||
if error_codes.len() > 9 { "..." } else { "." }
|
if error_codes.len() > 9 { "..." } else { "." }
|
||||||
));
|
));
|
||||||
inner.failure_note(format!(
|
inner.failure_note(format!(
|
||||||
"For more information about an error, try \
|
"For more information about an error, try `rustc --explain {}`.",
|
||||||
`rustc --explain {}`.",
|
|
||||||
&error_codes[0]
|
&error_codes[0]
|
||||||
));
|
));
|
||||||
} else {
|
} else {
|
||||||
inner.failure_note(format!(
|
inner.failure_note(format!(
|
||||||
"For more information about this error, try \
|
"For more information about this error, try `rustc --explain {}`.",
|
||||||
`rustc --explain {}`.",
|
|
||||||
&error_codes[0]
|
&error_codes[0]
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue