Function aho_corasick::ahocorasick::enforce_anchored_consistency
source · fn enforce_anchored_consistency(
have: StartKind,
want: Anchored,
) -> Result<(), MatchError>
Expand description
Returns an error if the start state configuration does not support the desired search configuration. See the internal ‘AhoCorasick::start_kind’ field docs for more details.