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

style-guide: Document newline rules for assignment operators #113145

Merged

Commits on Jun 29, 2023

  1. style-guide: Document newline rules for assignment operators

    The style guide gives general rules for binary operators including
    assignment, and one of those rules says to put the operator on the
    subsequent line; the style guide needs to explicitly state the exception
    of breaking *after* assignment operators rather than before.
    
    This is already what rustfmt does and what users do; this fixes the
    style guide to match the expected default style.
    joshtriplett committed Jun 29, 2023
    Configuration menu
    Copy the full SHA
    03e64f4 View commit details
    Browse the repository at this point in the history