improved_slice_patterns 2.0.1

A tiny crate that provides macros to help matching on Vecs and iterators using the syntax of slice_patterns
Documentation

improved_slice_patterns

A tiny crate that provides two macros to help matching on Vecs and iterators using the syntax of slice_patterns

Changelog

V2.0

  • match_vec now returns a Result instead of an Option. The Err variant is used to return ownership of the passed vec if there was no match.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions