Remove redundant clones
This commit is contained in:
@@ -262,7 +262,7 @@ mod tests {
|
||||
|
||||
assert_eq!(task.macro_body, back.macro_body);
|
||||
|
||||
let result = ExpansionResult { expansion: tt.clone() };
|
||||
let result = ExpansionResult { expansion: tt };
|
||||
let json = serde_json::to_string(&result).unwrap();
|
||||
let back: ExpansionResult = serde_json::from_str(&json).unwrap();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user