Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

database/mod.rs -> Method description in "std:error:Error" is deprecated #56

Open
manojgop opened this issue Oct 25, 2018 · 0 comments
Open

Comments

@manojgop
Copy link
Collaborator

File -> database/mod.rs

As per document https://doc.rust-lang.org/std/error/trait.Error.html

fn description(&self) -> &str
This method is soft-deprecated.
Although using it won’t cause compilation warning, new code should use Display instead and new impls can omit it.To obtain error description as a string, use to_string()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant