Skip to content

Commit

Permalink
Fix typo (rust-bakery#1668)
Browse files Browse the repository at this point in the history
"chararcters" -> "characters"
  • Loading branch information
brollb committed Jun 10, 2023
1 parent 1309141 commit 9fce481
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/s_expression.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ fn parse_bool(i: &str) -> IResult<&str, Atom, VerboseError<&str>> {
/// and `cut` to prevent back-tracking.
///
/// Put plainly: `preceded(tag(":"), cut(alpha1))` means that once we see the `:`
/// character, we have to see one or more alphabetic chararcters or the input is invalid.
/// character, we have to see one or more alphabetic characters or the input is invalid.
fn parse_keyword(i: &str) -> IResult<&str, Atom, VerboseError<&str>> {
map(
context("keyword", preceded(tag(":"), cut(alpha1))),
Expand Down

0 comments on commit 9fce481

Please sign in to comment.