mirror of https://github.com/rust-lang/reference
commit
5ddf52ae12
|
@ -166,7 +166,7 @@ The repetition operators are:
|
|||
|
||||
- `*` — indicates any number of repetitions.
|
||||
- `+` — indicates any number but at least one.
|
||||
- `?` — indicates an optional fragment with zero or one occurrences.
|
||||
- `?` — indicates an optional fragment with zero or one occurrence.
|
||||
|
||||
Since `?` represents at most one occurrence, it cannot be used with a
|
||||
separator.
|
||||
|
|
Loading…
Reference in New Issue