clippy::clone_on_copy
This commit is contained in:
@@ -45,7 +45,6 @@ impl ProcMacroExpander {
|
||||
let proc_macro = krate_graph[self.krate]
|
||||
.proc_macro
|
||||
.get(id.0 as usize)
|
||||
.clone()
|
||||
.ok_or_else(|| err!("No derive macro found."))?;
|
||||
|
||||
// Proc macros have access to the environment variables of the invoking crate.
|
||||
|
||||
Reference in New Issue
Block a user