georust / topojson

TopoJSON bindings and utilities for Rust
MIT License
10 stars 8 forks source link

Add PartialEq to Error #3

Closed tredoe closed 7 years ago

tredoe commented 7 years ago

Add #[derive(Debug, PartialEq)] to the error so it could be compared in tests of other libraries/apps that use your library.

https://github.com/georust/rust-topojson/blob/master/src/error.rs#L5

tredoe commented 7 years ago

https://www.reddit.com/r/rust/comments/5d8frm/traits_derived_in_errors/

frewsxcv commented 7 years ago

@kless Do you want to try opening a PR for this? You should be able to edit the file in GitHub's web UI and just add the derived traits. Not worried about tests for this

tredoe commented 7 years ago

PR