Skip to content

Allow changing a DFA's prefilter after it's already been created #1226

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 24, 2025

Conversation

ideka
Copy link
Contributor

@ideka ideka commented Sep 17, 2024

I made the change rather simply so it'd fit my purposes for the time being. Let me know if there's anything I should change.

See GH-1225.

@BurntSushi
Copy link
Member

I renamed this to set_prefilter, changed where it was oriented in the file (adding it after tests at the bottom is pretty weird), spruced up the docs and added this to sparse DFAs as well.

@BurntSushi BurntSushi merged commit 1873e96 into rust-lang:master Aug 24, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants