variadic_generics
A first attempt in using traits & tuples to work around Rusts lack of variadic generics.
link to API documentation
example usage
Add to your Cargo.toml:
[]
= "0.1"
Add to your crate root:
extern crate variadic_generics;
- option_tuple showcases how to implement
flatwrap(Option<T>...) -> Option<(T...)>
contribution guidelines
Make sure to cargo install rustfmt
and cargo fmt
the codebase before creating any commits!