forked from gentoo-utils/gentoo-utils
fix lints
This commit is contained in:
@@ -54,7 +54,7 @@ pub unsafe extern "C" fn LLVMFuzzerTestOneInput(input: *const u8, len: usize) ->
|
||||
Err(_) => return -1,
|
||||
};
|
||||
|
||||
let version_str = match str.split_ascii_whitespace().nth(0) {
|
||||
let version_str = match str.split_ascii_whitespace().next() {
|
||||
Some(lhs) => lhs,
|
||||
None => return -1,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user