diff --git a/src/python_bindings/mod.rs b/src/python_bindings/mod.rs index 6aeec3bf..22bebe62 100644 --- a/src/python_bindings/mod.rs +++ b/src/python_bindings/mod.rs @@ -138,7 +138,6 @@ pub fn get_vocabulary_transition_keys_py( )) } -#[allow(clippy::too_many_arguments)] #[pyfunction(name = "create_fsm_index_end_to_end")] #[pyo3(text_signature = "(fsm_info, vocabulary, frozen_tokens)")] pub fn create_fsm_index_end_to_end_py<'py>( diff --git a/src/regex.rs b/src/regex.rs index e9cb68d2..1db920ac 100644 --- a/src/regex.rs +++ b/src/regex.rs @@ -1,6 +1,5 @@ use std::collections::{HashMap, HashSet}; -#[allow(dead_code)] pub fn walk_fsm( fsm_transitions: &HashMap<(u32, u32), u32>, _fsm_initial: u32, @@ -38,7 +37,6 @@ pub fn walk_fsm( accepted_states } -#[allow(dead_code)] pub fn state_scan_tokens( fsm_transitions: &HashMap<(u32, u32), u32>, fsm_initial: u32, @@ -75,7 +73,6 @@ pub fn state_scan_tokens( res } -#[allow(dead_code)] pub fn get_token_transition_keys( alphabet_symbol_mapping: &HashMap, alphabet_anything_value: u32, @@ -109,7 +106,6 @@ pub fn get_token_transition_keys( token_transition_keys } -#[allow(dead_code)] pub fn get_vocabulary_transition_keys( alphabet_symbol_mapping: &HashMap, alphabet_anything_value: u32,