Restore type complexity checks in CI

Passes due to the remaining type complexity cases being explicitly allowed.
This commit is contained in:
Luke Parker
2022-12-01 11:52:52 -05:00
parent 0350cd803d
commit 0ca52a36ee
6 changed files with 10 additions and 2 deletions

View File

@@ -180,6 +180,7 @@ fn refine_inputs<C: Coin>(
}
}
#[allow(clippy::type_complexity)]
fn select_inputs_outputs<C: Coin>(
inputs: &mut Vec<C::Output>,
outputs: &mut Vec<(C::Address, u64)>,
@@ -200,6 +201,7 @@ fn select_inputs_outputs<C: Coin>(
(selected, outputs)
}
#[allow(clippy::type_complexity)]
pub struct Wallet<D: CoinDb, C: Coin> {
db: D,
coin: C,