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

chore: Remove deprecated description from error_handling/errorsn.rs #382

Merged
merged 1 commit into from May 2, 2020
Merged

chore: Remove deprecated description from error_handling/errorsn.rs #382

merged 1 commit into from May 2, 2020

Conversation

bertonha
Copy link
Contributor

@bertonha bertonha commented May 2, 2020

When I was working on error_handling/errorsn.rs I notice that warning.

warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string()
   --> exercises/error_handling/errorsn.rs:103:49
    |
103 |         f.write_str((self as &dyn error::Error).description())
    |                                                 ^^^^^^^^^^^
    |
    = note: `#[warn(deprecated)]` on by default

@shadows-withal
Copy link
Member

👍

@shadows-withal shadows-withal merged commit ebfe76c into rust-lang:master May 2, 2020
@bertonha bertonha deleted the deprecated-description branch May 2, 2020 16:42
@shadows-withal
Copy link
Member

@all-contributors add @bertonha for content

@allcontributors
Copy link
Contributor

@fmoko

I've put up a pull request to add @bertonha! 🎉

ppp3 pushed a commit to ppp3/rustlings that referenced this pull request May 23, 2022
dmoore04 pushed a commit to dmoore04/rustlings that referenced this pull request Sep 11, 2022
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.

None yet

2 participants