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

Unseparated literal suffix #7726

Merged
merged 3 commits into from
Nov 2, 2021
Merged

Commits on Oct 4, 2021

  1. Configuration menu
    Copy the full SHA
    e6e6e7d View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2021

  1. Add separated_literal_suffix as an alternative for

    `unseparated_literal_suffix`
    
    This commit adds a configuration `literal-suffix-style` to enforce a
    specific style for unseparated_literal_suffix. The configuration accepts
    two values:
    - "separated"
        enforce all literals to be written separately (e.g. `123_i32`)
    - "unseparated"
        enforce all literals to be written as unseparated (e.g. `123i32`)
    
    Not specifying a value means that there is no preference on style and
    any style should not be warned.
    dswij committed Nov 1, 2021
    Configuration menu
    Copy the full SHA
    1085df5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bb1cf72 View commit details
    Browse the repository at this point in the history