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

Initialize a few variables directly #81105

Merged
merged 1 commit into from
Jan 18, 2021
Merged

Commits on Jan 17, 2021

  1. Initialize a few variables directly

    Currently they are declared as `mut`, get initialized to a default value, and
    then possibly overwritten.
    
    By initializing to the final value directly, they don't need to be `mut` and
    it's clear that they don't get mutated elsewhere later on.
    LingMan committed Jan 17, 2021
    Configuration menu
    Copy the full SHA
    0a74e17 View commit details
    Browse the repository at this point in the history