mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
No more sorry
This commit is contained in:
+1
-2
@@ -482,8 +482,7 @@ fn msg_prefix(&self) -> &str {
|
||||
|
||||
fn msg_suffix(&self) -> &str {
|
||||
match self.kind {
|
||||
ErrorKind::LineOverflow(..) | ErrorKind::TrailingWhitespace => "(sorry)",
|
||||
ErrorKind::BadIssue(_) => "",
|
||||
_ => String::from(""),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user