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

fix(builder)!: Accept a more liberal Iterator #2857

Closed
wants to merge 1 commit into from

Commits on Oct 12, 2021

  1. fix(builder)!: Accept a more liberal Iterator

    This replaces the most common uses of `&[]` with `IntoIterator`.
    
    This is based on clap-rs#2414.  Unlike that, this stays consistent with using
    `Into<&'help str>`.
    
    There are some remaining functions not converted over, like defaults and
    requires.
    
    BREAKING CHANGE: Instances like `aliases(&[])` need to switch to
    `aliases([])`.
    epage committed Oct 12, 2021
    Configuration menu
    Copy the full SHA
    e86194d View commit details
    Browse the repository at this point in the history