rust-bakery / nom

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

fix: Recipes had drifted from the implementation and weren't compiling #1695

Closed krtab closed 11 months ago

krtab commented 1 year ago

This

  1. Adds the recipes to the doctests so that they don't drift anymore
  2. Fixes them
Geal commented 11 months ago

it took a bit of fiddling, but now all tests are passing in CI. Thankyou for your help!

krtab commented 11 months ago

Perfect, I hadn't added the cfg because I wasn't sure how it would interract with the feature gate, great you figured it out.