citahub / cita_trie

Rust implementation of the Modified Patricia Tree (aka Trie).
Apache License 2.0
71 stars 28 forks source link

Remove description from error #12

Closed mohanson closed 5 years ago

mohanson commented 5 years ago

It's unnecessary to implement description() for user defined errors, so just omit it.

See: https://doc.rust-lang.org/nightly/std/error/trait.Error.html#method.description