From 7dc667ba323aede829fff0e3fd0d79eb6b53cf0d Mon Sep 17 00:00:00 2001 From: Joshua Groves Date: Tue, 8 Jan 2019 13:19:02 -0700 Subject: [PATCH] Remove unnecessary `clone` --- src/bindgen/parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bindgen/parser.rs b/src/bindgen/parser.rs index bb95b96bc..b501ce878 100644 --- a/src/bindgen/parser.rs +++ b/src/bindgen/parser.rs @@ -714,7 +714,7 @@ impl Parse { let const_name = item.ident.to_string(); match Constant::load_assoc( - const_name.clone(), + const_name, item, mod_cfg, is_assoc_const_of_transparent_struct,