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

Reword trivial_casts lint in rustc book to better explain what it does. #76555

Merged
merged 1 commit into from
Sep 10, 2020
Merged

Reword trivial_casts lint in rustc book to better explain what it does. #76555

merged 1 commit into from
Sep 10, 2020

Commits on Sep 10, 2020

  1. Reword trivial_casts lint to better explain.

    The current description of the trivial casts lint under the "allowed
    by default" listing in the rustc book indicates the lint is for lints
    which may be removed, which is less clear than saying it's for lints
    which may be replaced by coercion (which is the wording used by the
    error message included in the doc).
    
    This commit changes the wording slightly to better describe what the
    lint does.
    alilleybrinker committed Sep 10, 2020
    Configuration menu
    Copy the full SHA
    01bf350 View commit details
    Browse the repository at this point in the history