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

feat(List)!: new now accepts IntoIterator<Item = Into<ListItem>> #672

Merged
merged 1 commit into from
Dec 8, 2023

Commits on Dec 8, 2023

  1. feat(List)!: List::new now accepts `IntoIterator<Item = Into<ListIt…

    …em>>`
    
    This allows to build list like
    
    ```
    List::new(["Item 1", "Item 2"])
    ```
    
    BREAKING CHANGE: `List::new` parameter type changed from `Into<Vec<ListItem<'a>>>`
    to `IntoIterator<Item = Into<ListItem<'a>>>`
    Valentin271 committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    511c86d View commit details
    Browse the repository at this point in the history