Skip to content

Commit 0839995

Browse files
committed
fix(solver): suppress clippy type_complexity warning for callback fields
1 parent 850cef3 commit 0839995

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

crates/solverforge-solver/src/scope/solver.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ use crate::stats::SolverStats;
1919
/// * `'t` - Lifetime of the termination flag reference
2020
/// * `S` - The planning solution type
2121
/// * `D` - The score director type
22+
#[allow(clippy::type_complexity)]
2223
pub struct SolverScope<'t, S: PlanningSolution, D: ScoreDirector<S>> {
2324
/// The score director managing the working solution.
2425
score_director: D,

crates/solverforge-solver/src/solver.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ use crate::termination::Termination;
2424
/// * `T` - Termination condition (use `Option<ConcreteTermination>`)
2525
/// * `S` - Solution type
2626
/// * `D` - Score director type
27+
#[allow(clippy::type_complexity)]
2728
pub struct Solver<'t, P, T, S, D> {
2829
phases: P,
2930
termination: T,

0 commit comments

Comments
 (0)