From 23bd5e2b3a1f82ff5164c013b43e5c8109d89716 Mon Sep 17 00:00:00 2001 From: Kian-Meng Ang Date: Thu, 11 Aug 2022 22:33:16 +0800 Subject: [PATCH] doc: fix typos (#688) --- CONTRIBUTING.md | 2 +- README.md | 2 +- derive/src/lib.rs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0ab42d9e..5897576f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -2,7 +2,7 @@ ## Getting to know the project -Before diving into the whys and hows, it's best one got started with the whats. The best place to learn about what pest does and what its limits are is the [book]. Feel free to try any of the examples in the [fiddle editor] as well. +Before diving into the whys and hows, it's best one got started with the what's. The best place to learn about what pest does and what its limits are is the [book]. Feel free to try any of the examples in the [fiddle editor] as well. [book]: https://pest-parser.github.io/book [fiddle editor]: https://pest-parser.github.io/#editor diff --git a/README.md b/README.md index 856ec8b0..f91188cc 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ Other helpful resources: ## Example -The following is an example of a grammar for a list of alpha-numeric identifiers +The following is an example of a grammar for a list of alphanumeric identifiers where the first identifier does not start with a digit: ```rust diff --git a/derive/src/lib.rs b/derive/src/lib.rs index dd647c0a..d980c6ae 100644 --- a/derive/src/lib.rs +++ b/derive/src/lib.rs @@ -152,7 +152,7 @@ //! //! Strings and characters follow //! [Rust's escape mechanisms](https://doc.rust-lang.org/reference/tokens.html#byte-escapes), while -//! identifiers can contain alpha-numeric characters and underscores (`_`), as long as they do not +//! identifiers can contain alphanumeric characters and underscores (`_`), as long as they do not //! start with a digit. //! //! 2. Non-terminals @@ -266,7 +266,7 @@ //! ``` //! //! For historical reasons, `PEEK_ALL` matches from top to bottom, while `PEEK[start..end]` matches -//! from bottom to top. There is currectly no syntax to match a slice of the stack top to bottom. +//! from bottom to top. There is currently no syntax to match a slice of the stack top to bottom. //! //! ## `Rule` //!