Skip to content

Commit

Permalink
Clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jsinger67 committed Aug 2, 2023
1 parent c935f3e commit e338784
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion crates/parol/src/analysis/k_decision.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ pub fn calculate_k(
///
/// Calculates lookahead tuples for all productions, where max_k is the limit.
///
#[allow(clippy::manual_try_fold)]
pub fn calculate_k_tuples(
grammar_config: &GrammarConfig,
max_k: usize,
Expand Down
1 change: 0 additions & 1 deletion crates/parol/src/generators/user_trait_generator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,6 @@ impl<'a> UserTraitGenerator<'a> {
///
/// Generates the file with the user actions trait.
///
#[allow(clippy::manual_try_fold)]
pub fn generate_user_trait_source<C: CommonGeneratorConfig + UserTraitGeneratorConfig>(
&self,
config: &C,
Expand Down
1 change: 0 additions & 1 deletion crates/parol/src/grammar/cfg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,6 @@ impl Cfg {
/// Returns the relative index of a production within its alternatives.
/// Used for auto generation to get a more stable generation experience.
///
#[allow(clippy::manual_try_fold)]
pub fn get_alternation_index_of_production(
&self,
prod_num: ProductionIndex,
Expand Down

0 comments on commit e338784

Please sign in to comment.