mirror of
https://github.com/openharmony/third_party_rust_bindgen.git
synced 2026-07-19 11:53:29 -04:00
Fix clippy warnings (#2336)
This commit is contained in:
committed by
GitHub
parent
fc6c702695
commit
9bd0eb16d0
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user