770 |
#[test]
|
771 |
#[allow(clippy::unnecessary_fold)]
|
772 |
fn test_fold() {
|
31 |
fn add_all(&mut self, individuals: Vec<Self::Individual>) -> bool {
|
32 |
#[allow(clippy::unnecessary_fold)]
|
33 |
individuals.into_iter().fold(false, |acc, individual| acc || self.add(individual))
|
48 |
// unnecessary_fold if required in our case
|
49 |
#[allow(clippy::unnecessary_fold)]
|
50 |
pub fn run(
|
9 |
#![allow(clippy::double_parens)]
|
10 |
#![allow(clippy::unnecessary_fold)]
|