Fix new Clippy lints

This commit is contained in:
Robbert van der Helm
2023-01-06 16:07:42 +01:00
parent 935bf6f7f3
commit dfeb8164ca
8 changed files with 13 additions and 15 deletions

View File

@@ -127,8 +127,8 @@ impl CrossoverParams {
.with_string_to_value(crossover_string_to_value.clone()),
crossover_4_freq: FloatParam::new("Crossover 4", 10000.0, crossover_range)
.with_smoother(crossover_smoothing_style)
.with_value_to_string(crossover_value_to_string.clone())
.with_string_to_value(crossover_string_to_value.clone()),
.with_value_to_string(crossover_value_to_string)
.with_string_to_value(crossover_string_to_value),
crossover_type: EnumParam::new("Type", CrossoverType::LinkwitzRiley24).with_callback(
Arc::new(move |_| should_update_filters.store(true, Ordering::Relaxed)),