Skip to content

Commit

Permalink
Remove unnecessary linter allowances
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonwillard committed Aug 29, 2024
1 parent c28e070 commit dfbdfba
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/python_bindings/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>(
Expand Down
4 changes: 0 additions & 4 deletions src/regex.rs
Original file line number Diff line number Diff line change
@@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -75,7 +73,6 @@ pub fn state_scan_tokens(
res
}

#[allow(dead_code)]
pub fn get_token_transition_keys(
alphabet_symbol_mapping: &HashMap<String, u32>,
alphabet_anything_value: u32,
Expand Down Expand Up @@ -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<String, u32>,
alphabet_anything_value: u32,
Expand Down

0 comments on commit dfbdfba

Please sign in to comment.