clone not required as copy. (#12110)

This commit is contained in:
Squirrel
2022-08-25 12:11:15 +01:00
committed by GitHub
parent 948af11977
commit 0fb0ef8c2f
@@ -775,7 +775,7 @@ impl StorageDef {
error.push_value(last);
Ok(Some(QueryKind::ResultQuery(
syn::Path { leading_colon: leading_colon.clone(), segments: error },
syn::Path { leading_colon, segments: error },
err_variant,
)))
},