From 0fdf27c5c26f5173c2c8ae96776b236ab8dbbeb0 Mon Sep 17 00:00:00 2001 From: Roy Ivy III Date: Thu, 6 Feb 2020 22:49:06 -0600 Subject: [PATCH] refactor/polish ~ fix `cargo clippy` complaints (iter_skip_next) --- src/factor/build.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/factor/build.rs b/src/factor/build.rs index ba65c01ae..914400034 100644 --- a/src/factor/build.rs +++ b/src/factor/build.rs @@ -80,8 +80,7 @@ fn main() { // By default, we print the multiplicative inverses mod 2^64 of the first 1k primes let n = args() - .skip(1) - .next() + .nth(1) .unwrap_or_else(|| "1027".to_string()) .parse::() .ok()