stevenarella/blocks
ice_iix d729039849 steven_blocks: Use the ? operator instead of * in macro
Previously, only the * and + operators were available, for 0 or more and
1 or more, respectively, so steven_blocks used * for optional tokens
even though only one would be expected in most cases.

Rust version 1.32.0 added a new operator, ?, for zero or one:

https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1320-2019-01-17
> You can now use the ? operator in macro definitions. The ? operator allows
> you to specify zero or one repetitions similar to the * and + operators.
https://github.com/rust-lang/rust/pull/56245/

Change to use ? instead of * for these optional repetitions.
Found this while investigating #174.
2019-05-30 18:31:23 -07:00
..
src steven_blocks: Use the ? operator instead of * in macro 2019-05-30 18:31:23 -07:00
Cargo.lock Update Cargo.lock for steven_blocks for #138 2019-05-14 17:23:28 -07:00
Cargo.toml Update cgmath and collision. Closes #97, closes #126 (#138) 2019-05-10 15:39:56 -07:00