diff options
| author | Mark Mansi <markm@cs.wisc.edu> | 2018-11-24 16:29:43 -0600 |
|---|---|---|
| committer | Mark Mansi <markm@cs.wisc.edu> | 2018-11-27 13:13:11 -0600 |
| commit | f3b29ca1c21b1cd559441a57e1ff2b8a41d56e36 (patch) | |
| tree | 5b66f1cacf16b273de2ac5acc0b5d46a1858ddb5 /src/doc | |
| parent | e97edad935c8eb05d0c67475e81dbb0618ac72fb (diff) | |
| download | rust-f3b29ca1c21b1cd559441a57e1ff2b8a41d56e36.tar.gz rust-f3b29ca1c21b1cd559441a57e1ff2b8a41d56e36.zip | |
remove unstable book entry
Diffstat (limited to 'src/doc')
| -rw-r--r-- | src/doc/unstable-book/src/language-features/macro-at-most-once-rep.md | 22 |
1 files changed, 0 insertions, 22 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 deleted file mode 100644 index 251fc720912..00000000000 --- a/src/doc/unstable-book/src/language-features/macro-at-most-once-rep.md +++ /dev/null @@ -1,22 +0,0 @@ -# `macro_at_most_once_rep` - -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,ignore -#![feature(macro_at_most_once_rep)] - -macro_rules! foo { - (something $(,)?) // `?` indicates `,` is "optional"... - => {} -} -``` - ------------------------- - |
