Merge pull request #60 from jhwgh1968/plugins
Remove redundant clones in codegen
This commit is contained in:
@@ -673,7 +673,7 @@ impl ExportedFn {
|
||||
is_string = false;
|
||||
is_ref = false;
|
||||
quote_spanned!(arg_type.span()=>
|
||||
mem::take(args[#i]).clone().cast::<#arg_type>())
|
||||
mem::take(args[#i]).cast::<#arg_type>())
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user