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

Remove description function in GlobError #94

Closed
wants to merge 5 commits into from

Conversation

brmmm3
Copy link
Contributor

@brmmm3 brmmm3 commented Jan 27, 2020

The description call is deprecated and fmt::Display is already implemented.

@@ -292,10 +292,6 @@ impl GlobError {
}

impl Error for GlobError {
fn description(&self) -> &str {
self.error.description()
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing functions like this is a breaking change, since callers may be using this routine to get a short description of the error. Could you please us #[allow(deprecated)] instead?

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

Successfully merging this pull request may close these issues.

2 participants