benashford / redis-async-rs

A Rust client for Redis, using Tokio
Apache License 2.0
253 stars 30 forks source link

Remove deprecated Error::description and Error::cause #51

Closed pandaman64 closed 4 years ago

pandaman64 commented 4 years ago

Error::description and Error::cause are deprecated in favor of Display and Error::source. https://doc.rust-lang.org/std/error/trait.Error.html#method.description

This PR also includes formatting and a fix for tokio warning.

benashford commented 4 years ago

Cool, thanks for this!

benashford commented 4 years ago

Published in v0.6.3