refactor/polish ~ fix cargo clippy complaints (iter_skip_next)

This commit is contained in:
Roy Ivy III 2020-02-06 22:49:06 -06:00
parent 84e26b3d0b
commit 0fdf27c5c2

View file

@ -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::<usize>()
.ok()