Skip to content

Commit

Permalink
unreachable
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinkassimo committed Feb 8, 2020
1 parent 19d98de commit 53ea7cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cli/fmt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@ pub fn format_stdin(check: bool) {

match dprint::format_text("_stdin.ts", &source, &config) {
Ok(None) => {
// Should not happen, but whatever.
// Should not happen
unreachable!();
}
Ok(Some(formatted_text)) => {
if check {
Expand Down

0 comments on commit 53ea7cd

Please sign in to comment.