mirror of https://github.com/rust-lang/reference
fix a typo
This commit is contained in:
parent
9ac3de60df
commit
042cd782cc
|
@ -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