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

Replace simple if let constructs with Option::map #79817

Merged
merged 1 commit into from
Dec 8, 2020

Commits on Dec 8, 2020

  1. Replace simple if let constructs with Option::map

    Replaces a few constructs of the form
    
    if let Some(x) = var {
        Some(...)
    } else {
        None
    }
    
    with calls to Option::map.
    LingMan committed Dec 8, 2020
    Configuration menu
    Copy the full SHA
    af9402a View commit details
    Browse the repository at this point in the history