From 923c79d7af34ddb9c51d1869fe772c1dba8794ce Mon Sep 17 00:00:00 2001 From: Christian Poveda Date: Fri, 4 Nov 2022 15:30:36 -0500 Subject: [PATCH] Fix clippy warnings --- 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()