File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2498,7 +2498,7 @@ impl OwnedDFA {
24982498 self . tt . set ( from, byte, to) ;
24992499 }
25002500
2501- /// An an empty state (a state where all transitions lead to a dead state)
2501+ /// An empty state (a state where all transitions lead to a dead state)
25022502 /// and return its identifier. The identifier returned is guaranteed to
25032503 /// not point to any other existing state.
25042504 ///
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ can only be used for adding NFA state IDs and recording some assertions.
5757
5858The expected flow here is to use the above builders to construct a candidate
5959DFA state to check if it already exists. If it does, then there's no need to
60- freeze it into a `State`. It it doesn't exist, then `StateBuilderNFA::to_state`
60+ freeze it into a `State`. If it doesn't exist, then `StateBuilderNFA::to_state`
6161can be called to freeze the builder into an immutable `State`. In either
6262case, `clear` should be called on the builder to turn it back into a
6363`StateBuilderEmpty` that reuses the underlying memory.
You can’t perform that action at this time.
0 commit comments