diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-12-20 10:55:18 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-12-23 13:23:28 +1100 |
| commit | 6f147afea9d35f466bcdcefbc9cf0d85bed3a2e6 (patch) | |
| tree | 7ec3bf4c40f8faf2259897800de190db299547d4 /compiler/rustc_errors | |
| parent | a108a3bd8efba34c86564f2200f62345f4129c0e (diff) | |
| download | rust-6f147afea9d35f466bcdcefbc9cf0d85bed3a2e6.tar.gz rust-6f147afea9d35f466bcdcefbc9cf0d85bed3a2e6.zip | |
Remove unnecessary line breaks from two string literals.
Diffstat (limited to 'compiler/rustc_errors')
| -rw-r--r-- | compiler/rustc_errors/src/lib.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/compiler/rustc_errors/src/lib.rs b/compiler/rustc_errors/src/lib.rs index a4bbd8a587b..f09d9c95381 100644 --- a/compiler/rustc_errors/src/lib.rs +++ b/compiler/rustc_errors/src/lib.rs @@ -1160,14 +1160,12 @@ impl DiagCtxt { if error_codes.len() > 9 { "..." } else { "." } )); inner.failure_note(format!( - "For more information about an error, try \ - `rustc --explain {}`.", + "For more information about an error, try `rustc --explain {}`.", &error_codes[0] )); } else { inner.failure_note(format!( - "For more information about this error, try \ - `rustc --explain {}`.", + "For more information about this error, try `rustc --explain {}`.", &error_codes[0] )); } |
