Fix unstable book

This commit is contained in:
Guillaume Gomez 2018-02-17 18:27:46 +01:00
parent de8b429420
commit c5be497888

View file

@ -6,7 +6,10 @@ With this feature gate enabled, one can use `?` as a Kleene operator meaning "0
or 1 repetitions" in a macro definition. Previously only `+` and `*` were allowed.
For example:
```rust
#![feature(macro_at_most_once_rep)]
macro_rules! foo {
(something $(,)?) // `?` indicates `,` is "optional"...
=> {}