2025: clippies
This commit is contained in:
3 files changed
+20
-17
No files matched your search
+3
-6
@@ -1,8 +1,6 @@
|
||||
use aoc_runner_derive::{aoc, aoc_generator};
|
||||
use grid::{Coord2d, Grid, MirrorAxis};
|
||||
use indicatif::{ProgressBar, ProgressStyle};
|
||||
use itertools::Itertools;
|
||||
use rayon::iter::IntoParallelRefIterator;
|
||||
use std::collections::HashSet;
|
||||
use std::fmt::Display;
|
||||
use std::iter::repeat_n;
|
||||
@@ -139,10 +137,9 @@ impl PresentsProblem {
|
||||
y: y as i64,
|
||||
},
|
||||
i,
|
||||
) {
|
||||
if self.place_next(new_t, cur + 1, cache) {
|
||||
return true;
|
||||
}
|
||||
) && self.place_next(new_t, cur + 1, cache)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user