summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poveda Ruiz <31802960+pvdrz@users.noreply.github.com>2022-11-04 15:41:49 -0500
committerGitHub <noreply@github.com>2022-11-04 15:41:49 -0500
commit0631a27bee19601e393e31e7dfc2563412b2fe01 (patch)
treefa59d70a92e1b2b0047421006c6725b572c55b6d
parente8ffb42ab66405ac56d04494a30e54b584f2d4dd (diff)
Fix clippy warnings (#2336)
-rw-r--r--bindgen-cli/options.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindgen-cli/options.rs b/bindgen-cli/options.rs
index 90f38cb2..482f9a7d 100644
--- a/bindgen-cli/options.rs
+++ b/bindgen-cli/options.rs
@@ -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()