From 65f3c6735766cc68a17d4b094e6818b67ad6488c Mon Sep 17 00:00:00 2001 From: nikstur Date: Fri, 23 Dec 2022 01:04:07 +0100 Subject: [PATCH] lanzatool: appease clippy by removing borrow --- rust/lanzatool/src/generation.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/lanzatool/src/generation.rs b/rust/lanzatool/src/generation.rs index cb10a2d..830856d 100644 --- a/rust/lanzatool/src/generation.rs +++ b/rust/lanzatool/src/generation.rs @@ -71,7 +71,7 @@ impl Generation { specialisation_name: Some(name.clone()), spec: ExtendedBootJson { bootspec: bootspec.clone(), - extensions: Self::extract_extensions(&bootspec)?, + extensions: Self::extract_extensions(bootspec)?, }, }) }