Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add implementation for single-item tuples (#25)
Assuming the `T2`-`T12` tuple `impl` enumeration matches [`impl From<(...)> for [T; ...]`](https://doc.rust-lang.org/std/primitive.array.html), current code misses not so obvious single-item tuple [`(T1,)`](https://doc.rust-lang.org/std/primitive.array.html#impl-From%3C(T,)%3E-for-%5BT;+1%5D). The style (trailing comma) of writing single-item tuple in the `impl` is made to be the same as actual single-item tuple syntax (although did not really have to be), macro associated with this also was changed, to allow for single-item tuple (change turns `(A, B, C)` into `(A, B, C,)`, which is the same type for all tuples except single-item`) and its trailing comma syntax.
- Loading branch information