Sets the non-match position. If this isn't a non-match, then this is a no-op.
(self, at: usize)
| 246 | /// |
| 247 | /// If this isn't a non-match, then this is a no-op. |
| 248 | fn set_non_match(self, at: usize) -> Result<T> { |
| 249 | match self { |
| 250 | Result::NoMatch(_) => Result::NoMatch(at), |
| 251 | r => r, |
| 252 | } |
| 253 | } |
| 254 | } |
| 255 | |
| 256 | /// `State` is a DFA state. It contains an ordered set of NFA states (not |
no outgoing calls
no test coverage detected