• ndarray 0.15.6/tests/iterators.rs
    770
    #[test]
    771
    #[allow(clippy::unnecessary_fold)]
    772
    fn test_fold() {
  • rosomaxa 0.2.6/src/population/greedy.rs
    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))
  • ruled-labels 0.4.0/src/rllib/tests.rs
    48
    	// unnecessary_fold if required in our case
    49
    	#[allow(clippy::unnecessary_fold)]
    50
    	pub fn run(
  • genfut 0.5.0/src/static/static_lib.rs
    9
    #![allow(clippy::double_parens)]
    10
    #![allow(clippy::unnecessary_fold)]