mirror of
https://gitee.com/openharmony/third_party_rust_bindgen
synced 2024-12-04 05:22:20 +00:00
Fix clippy warnings (#2336)
This commit is contained in:
parent
e8ffb42ab6
commit
0631a27bee
@ -1097,7 +1097,7 @@ where
|
||||
if let Some(abi_overrides) = matches.values_of("override-abi") {
|
||||
for abi_override in abi_overrides {
|
||||
let (regex, abi_str) = abi_override
|
||||
.rsplit_once("=")
|
||||
.rsplit_once('=')
|
||||
.expect("Invalid ABI override: Missing `=`");
|
||||
let abi = abi_str
|
||||
.parse()
|
||||
|
Loading…
Reference in New Issue
Block a user