erickt / rust-zmq

Rust zeromq bindings.
Apache License 2.0
899 stars 194 forks source link

Remove `std::error::Error` description method implementations #295

Closed rotty closed 4 years ago

rotty commented 4 years ago

The description method has been soft-deprecated for some time now, and current nightly (1.41) warns upon its use:

warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string()

Since our description implementation made use of the underlying error's description method, we triggered that warning. Let's fix that by just getting rid of the implementation containing the offending code.