fix clippy 1.96 lints

This commit is contained in:
2026-05-29 17:43:04 -07:00
parent 156bc8f9b2
commit ccfcfd6ad3
+2 -2
View File
@@ -117,7 +117,7 @@ impl Display for DisplayStats<'_> {
self.0.stats().stats().recycle_count(),
self.0.stats().stats().moves(),
self.0.stats().undos(),
self.0.state().score(self.0.stats(), &self.0.config()),
self.0.state().score(self.0.stats(), self.0.config()),
)
}
}
@@ -239,7 +239,7 @@ fn main() -> Result<(), std::io::Error> {
use rand::RngExt;
let mut rng = rand::rng();
// seed from cli argument
let mut seed = if let Some(seed) = std::env::args().skip(1).next() {
let mut seed = if let Some(seed) = std::env::args().nth(1) {
seed.parse().expect("Invalid u64 seed")
} else {
rng.random()