Skip to content

Commit

Permalink
Fix typo in docs
Browse files Browse the repository at this point in the history
* purpose -> purposes
* then -> them
  • Loading branch information
JoshOrndorff authored and Geal committed Feb 24, 2020
1 parent dba7d44 commit 2036c8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@
//! software like [lex](https://en.wikipedia.org/wiki/Lex_(software)) and
//! [yacc](https://en.wikipedia.org/wiki/Yacc). Instead of writing the grammar
//! in a separate syntax and generating the corresponding code, you use very small
//! functions with a very specific purpose, like "take 5 bytes", or "recognize the
//! word 'HTTP'", and assemble then in meaningful patterns like "recognize
//! functions with a very specific purposes, like "take 5 bytes", or "recognize the
//! word 'HTTP'", and assemble them in meaningful patterns like "recognize
//! 'HTTP', then a space, then a version".
//! The resulting code is small, and looks like the grammar you would have
//! written with other parser approaches.
Expand Down

0 comments on commit 2036c8c

Please sign in to comment.