Skip to content

Commit

Permalink
Remove usage of write!
Browse files Browse the repository at this point in the history
  • Loading branch information
redzic authored Jul 15, 2020
1 parent ae583f7 commit 8f264f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ pub struct ParseError;

impl fmt::Display for ParseError {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
write!(f, "missing closing quote")
f.write_str("missing closing quote")
}
}

Expand Down

0 comments on commit 8f264f1

Please sign in to comment.