mirror of
https://jturnerusa.dev/cgit/gentoo-utils/
synced 2025-12-02 19:18:35 -06:00
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,
|
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,
|
Some(lhs) => lhs,
|
||||||
None => return -1,
|
None => return -1,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user