Crates.io | improved_slice_patterns |
lib.rs | improved_slice_patterns |
version | 2.0.1 |
source | src |
created_at | 2019-04-14 21:17:49.97744 |
updated_at | 2020-02-21 14:56:54.418955 |
description | A tiny crate that provides macros to help matching on Vecs and iterators using the syntax of slice_patterns |
homepage | |
repository | https://github.com/Nadrieril/improved_slice_patterns |
max_upload_size | |
id | 127969 |
size | 12,909 |
improved_slice_patterns
A tiny crate that provides two macros to help matching
on Vec
s and iterators using the syntax of slice_patterns
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.Licensed under either of
at your option.
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