Skip to content

Consider using the subslice patternsΒ #67

Closed
@xcaptain

Description

Rust 1.42 will provide some pattern matching improvements and will be released on Mar 12, for details see https://blog.rust-lang.org/inside-rust/2020/03/04/recent-future-pattern-matching-improvements.html

I think it's a good opportunity to replace the current Vec<&str> apis to [&str; 4] and pattern matching whether the passing argument is of length 3 or 4

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions