Fix all remaining clippy warnings

Fixes #586
This commit is contained in:
Greg Fitzgerald
2018-07-11 21:10:25 -06:00
committed by Greg Fitzgerald
parent 73ae3c3301
commit 30f0c25b65
18 changed files with 200 additions and 171 deletions

View File

@@ -66,6 +66,7 @@ fn batch_size(batches: &[SharedPackets]) -> usize {
.sum()
}
#[cfg_attr(feature = "cargo-clippy", allow(ptr_arg))]
#[cfg(not(feature = "cuda"))]
pub fn ed25519_verify(batches: &Vec<SharedPackets>) -> Vec<Vec<u8>> {
use rayon::prelude::*;