rustonaut / vec1

Rust `Vec<T>` wrapper that gurantees to contain at least 1 element
Apache License 2.0
88 stars 15 forks source link

vec1! macro doesn't accept trailing comma #13

Closed adwhit closed 4 years ago

adwhit commented 4 years ago
error: unexpected end of macro invocation
   --> engine/src/some_code.rs:297:29
    |
297 |         vec1![1.0, 2.0, 3.0,];
    |                             ^ missing tokens in macro arguments

This was a little annoying when converting some vec! calls to vec1! calls.

rustonaut commented 4 years ago

Took a while but vec1 is now update and a new version is published.