Skip to content

Commit

Permalink
Merge pull request #10 from binarycode/fix-typo
Browse files Browse the repository at this point in the history
fix typo
  • Loading branch information
magiclen committed May 9, 2021
2 parents acc61df + 729f085 commit 2f7b069
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/byte_error.rs
Expand Up @@ -60,12 +60,12 @@ impl Display for UnitIncorrectError {

if self.also_expect_no_character {
f.write_fmt(format_args!(
", {:?} or no character is excepted.",
", {:?} or no character is expected.",
self.expected_characters[expected_characters_length - 1]
))
} else {
f.write_fmt(format_args!(
" or {:?} is excepted.",
" or {:?} is expected.",
self.expected_characters[expected_characters_length - 1]
))
}
Expand Down

0 comments on commit 2f7b069

Please sign in to comment.