rust-bakery / nom

Rust parser combinator framework
MIT License
9.38k stars 806 forks source link

Update readme example #1641

Closed terror closed 1 year ago

terror commented 1 year ago

This updates the README example to (1) get it to compile and (2) remove some of the unused function warnings. It does this by:

This also adds a few formatting tweaks, these were just the product of formatting the code with rustfmt.

Geal commented 1 year ago

Thanks! it looks nicer that way