Skip to content

Commit 6ceb421

Browse files
authored
fix clippy warnings (#2724)
1 parent f9b27ee commit 6ceb421

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/build_context.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ impl BuildContext {
731731
&self.out,
732732
&self.project_layout.project_root,
733733
&self.metadata24,
734-
&[tag.clone()],
734+
std::slice::from_ref(&tag),
735735
self.excludes(Format::Wheel)?,
736736
self.compression,
737737
)?;
@@ -810,7 +810,7 @@ impl BuildContext {
810810
&self.out,
811811
&self.project_layout.project_root,
812812
&self.metadata24,
813-
&[tag.clone()],
813+
std::slice::from_ref(&tag),
814814
self.excludes(Format::Wheel)?,
815815
self.compression,
816816
)?;

0 commit comments

Comments
 (0)