We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8eb4941 commit 63c2d06Copy full SHA for 63c2d06
src/doc/unstable-book/src/language-features/macro-at-most-once-rep.md
@@ -1,13 +1,15 @@
1
# `macro_at_most_once_rep`
2
3
-The tracking issue for this feature is: TODO(mark-i-m)
+NOTE: This feature is only available in the 2018 Edition.
4
+
5
+The tracking issue for this feature is: #48075
6
7
With this feature gate enabled, one can use `?` as a Kleene operator meaning "0
8
or 1 repetitions" in a macro definition. Previously only `+` and `*` were allowed.
9
10
For example:
11
-```rust
12
+```rust,ignore
13
#![feature(macro_at_most_once_rep)]
14
15
macro_rules! foo {
0 commit comments