Fix or mark-as-allowed Clippy lints in tests

And tweak the GitHub Clippy enforcement so this doesn't regress.
This commit is contained in:
Jordan Rose
2021-02-19 17:59:58 -08:00
parent b4b4f7795c
commit 21875d82f4
9 changed files with 46 additions and 37 deletions

View File

@@ -50,7 +50,7 @@ pub async fn decrypt(
.await
}
#[allow(dead_code)]
#[allow(dead_code, clippy::eval_order_dependence)]
pub async fn create_pre_key_bundle<R: Rng + CryptoRng>(
store: &mut dyn ProtocolStore,
mut csprng: &mut R,