mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 11:07:44 +00:00
refactor/polish ~ fix cargo clippy
complaints (iter_skip_next)
This commit is contained in:
parent
84e26b3d0b
commit
0fdf27c5c2
1 changed files with 1 additions and 2 deletions
|
@ -80,8 +80,7 @@ fn main() {
|
||||||
|
|
||||||
// By default, we print the multiplicative inverses mod 2^64 of the first 1k primes
|
// By default, we print the multiplicative inverses mod 2^64 of the first 1k primes
|
||||||
let n = args()
|
let n = args()
|
||||||
.skip(1)
|
.nth(1)
|
||||||
.next()
|
|
||||||
.unwrap_or_else(|| "1027".to_string())
|
.unwrap_or_else(|| "1027".to_string())
|
||||||
.parse::<usize>()
|
.parse::<usize>()
|
||||||
.ok()
|
.ok()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue