Skip to content

Commit

Permalink
Remove unnecessary clone
Browse files Browse the repository at this point in the history
  • Loading branch information
grovesNL authored and eqrion committed Jan 11, 2019
1 parent 678e5a8 commit 7dc667b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bindgen/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7dc667b

Please sign in to comment.