From 0631a27bee19601e393e31e7dfc2563412b2fe01 Mon Sep 17 00:00:00 2001 From: Christian Poveda Ruiz <31802960+pvdrz@users.noreply.github.com> Date: Fri, 4 Nov 2022 15:41:49 -0500 Subject: [PATCH] Fix clippy warnings (#2336) --- bindgen-cli/options.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindgen-cli/options.rs b/bindgen-cli/options.rs index 90f38cb2f9..482f9a7d98 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()