clone not required as copy. (#12110)

This commit is contained in:
Squirrel authored and GitHub committed 2022-08-25 11:11:15 +00:00
1 parent 948af11977
commit 0fb0ef8c2f
1 file changed
+1 -1
@@ -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,
)))
},