diff options
| author | mark <markm@cs.wisc.edu> | 2018-06-26 23:59:01 -0500 |
|---|---|---|
| committer | mark <markm@cs.wisc.edu> | 2018-07-23 21:54:43 -0500 |
| commit | 63c2d06a0d777f78048963cc55630631505de83b (patch) | |
| tree | a6390df8f75a5178f8bdbeee4c04e06acd287cd6 | |
| parent | 8eb4941e30d2a40bc03840dd0d99beb5aaf8159d (diff) | |
| download | rust-63c2d06a0d777f78048963cc55630631505de83b.tar.gz rust-63c2d06a0d777f78048963cc55630631505de83b.zip | |
update nightly book
| -rw-r--r-- | src/doc/unstable-book/src/language-features/macro-at-most-once-rep.md | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/doc/unstable-book/src/language-features/macro-at-most-once-rep.md b/src/doc/unstable-book/src/language-features/macro-at-most-once-rep.md index ec9d85db107..251fc720912 100644 --- a/src/doc/unstable-book/src/language-features/macro-at-most-once-rep.md +++ b/src/doc/unstable-book/src/language-features/macro-at-most-once-rep.md @@ -1,13 +1,15 @@ # `macro_at_most_once_rep` -The tracking issue for this feature is: TODO(mark-i-m) +NOTE: This feature is only available in the 2018 Edition. + +The tracking issue for this feature is: #48075 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 +```rust,ignore #![feature(macro_at_most_once_rep)] macro_rules! foo { |
