Skip to content

Commit 222ae15

Browse files
committed
No more sorry
1 parent 831db35 commit 222ae15

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -482,8 +482,7 @@ impl FormattingError {
482482

483483
fn msg_suffix(&self) -> &str {
484484
match self.kind {
485-
ErrorKind::LineOverflow(..) | ErrorKind::TrailingWhitespace => "(sorry)",
486-
ErrorKind::BadIssue(_) => "",
485+
_ => String::from(""),
487486
}
488487
}
489488
}

0 commit comments

Comments
 (0)