d729039849
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. |
||
---|---|---|
.. | ||
src | ||
Cargo.lock | ||
Cargo.toml |