fix clippy lints

This commit is contained in:
Antoine Martin 2025-12-01 13:59:04 +01:00
parent 7c90bccfa8
commit 02bc7875f6
7 changed files with 12 additions and 13 deletions

View file

@ -91,7 +91,7 @@ fn find_timestamp(input: &str) -> Result<u64> {
}
fn satisfies_constraint(solution: u64, (remainder, divisor): (u64, u64)) -> bool {
((solution + remainder) % divisor) == 0
(solution + remainder).is_multiple_of(divisor)
}
#[cfg(test)]