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

Fix #[warn(clippy::try_err)] in ser_macros.rs #1032

Merged
merged 2 commits into from
Aug 2, 2021

Commits on Aug 2, 2021

  1. Configuration menu
    Copy the full SHA
    58a4dc0 View commit details
    Browse the repository at this point in the history
  2. Fail linter on #[warn(clippy::try_err)]

    Some heavily used macros are using ? directly on an Err. Using a return
    is easier to read and removes hundreds of linter warnings.
    
    https://rust-lang.github.io/rust-clippy/master/index.html#try_err
    jkczyz committed Aug 2, 2021
    Configuration menu
    Copy the full SHA
    b4c3a33 View commit details
    Browse the repository at this point in the history