about summary refs log tree commit diff
path: root/clippy_dev/src
diff options
context:
space:
mode:
authorPhilipp Krones <hello@philkrones.com>2024-01-25 19:17:36 +0100
committerPhilipp Krones <hello@philkrones.com>2024-01-25 19:17:36 +0100
commit798865c593b8ad255ed1e19ee2502c8d91f16c65 (patch)
tree45a86a528d2ea8bed8b4c82f4a6d0ad108e67f5e /clippy_dev/src
parent0b6cf3b78c9602798b132ea4a420ea51fe3aa795 (diff)
downloadrust-798865c593b8ad255ed1e19ee2502c8d91f16c65.tar.gz
rust-798865c593b8ad255ed1e19ee2502c8d91f16c65.zip
Merge commit '66c29b973b3b10278bd39f4e26b08522a379c2c9' into clippy-subtree-update
Diffstat (limited to 'clippy_dev/src')
-rw-r--r--clippy_dev/src/update_lints.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/clippy_dev/src/update_lints.rs b/clippy_dev/src/update_lints.rs
index 6b76a44debf..9a357466923 100644
--- a/clippy_dev/src/update_lints.rs
+++ b/clippy_dev/src/update_lints.rs
@@ -504,9 +504,8 @@ fn replace_ident_like(contents: &str, replacements: &[(&str, &str)]) -> Option<S
     }
 
     let searcher = AhoCorasickBuilder::new()
-        .dfa(true)
         .match_kind(aho_corasick::MatchKind::LeftmostLongest)
-        .build_with_size::<u16, _, _>(replacements.iter().map(|&(x, _)| x.as_bytes()))
+        .build(replacements.iter().map(|&(x, _)| x.as_bytes()))
         .unwrap();
 
     let mut result = String::with_capacity(contents.len() + 1024);