Skip to content

Commit 4c565c8

Browse files
authored
doc: fix typos
PR #1182
1 parent 66a3bca commit 4c565c8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

regex-automata/src/dfa/dense.rs

+1-1
Original file line numberDiff line numberDiff 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
///

regex-automata/src/util/determinize/state.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ can only be used for adding NFA state IDs and recording some assertions.
5757
5858
The expected flow here is to use the above builders to construct a candidate
5959
DFA 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`
6161
can be called to freeze the builder into an immutable `State`. In either
6262
case, `clear` should be called on the builder to turn it back into a
6363
`StateBuilderEmpty` that reuses the underlying memory.

0 commit comments

Comments
 (0)