Skip to content

Commit

Permalink
Merge pull request #330 from tchajed/fix-identifier-example
Browse files Browse the repository at this point in the history
Fix identifier example in top-level docs
  • Loading branch information
kevinmehall authored Dec 3, 2022
2 parents 944e99a + d4da8cf commit df9b0ca
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 @@ -256,7 +256,7 @@
//! ```rust,no_run
//! # peg::parser!{grammar doc() for str {
//! rule identifier()
//! = quiet!{[ 'a'..='z' | 'A'..='Z']['a'..='z' | 'A'..='Z' | '0'..='9' ]+}
//! = quiet!{[ 'a'..='z' | 'A'..='Z']['a'..='z' | 'A'..='Z' | '0'..='9' ]*}
//! / expected!("identifier")
//! # }}
//! # fn main() {}
Expand Down

0 comments on commit df9b0ca

Please sign in to comment.