benkay86 / nom-tutorial

Tutorial for parsing with nom 5.
288 stars 17 forks source link

std::error::Error is now implemented #6

Closed ngirard closed 4 years ago

ngirard commented 4 years ago

Hey, thank you for your efforts in creating this tutorial, much appreciated !

You may want to take into account that std::error::Error and std::fmt::Display traits were recently implemented for nom::Err and already made available in the subsequent releases.

Cheers!

benkay86 commented 4 years ago

Thank you for pointing this out. This is definitely going to make all my nom coding a lot easier! I have updated the tutorial to remove the ParseError type for encapsulating nom errors since it is no longer necessary.