summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()