No more sorry

This commit is contained in:
topecongiro
2017-08-15 16:49:54 +09:00
parent 831db35a83
commit 222ae15c7b
+1 -2
View File
@@ -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(""),
}
}
}