From 41ddce724ee2342a4c73c1ddab673b2849fa016a Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Mon, 16 Sep 2024 18:04:45 -0400 Subject: [PATCH] Hash --- crates/uv-resolver/src/lock/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/uv-resolver/src/lock/mod.rs b/crates/uv-resolver/src/lock/mod.rs index 7c510d719c9ad..9e5a86fade03f 100644 --- a/crates/uv-resolver/src/lock/mod.rs +++ b/crates/uv-resolver/src/lock/mod.rs @@ -1863,7 +1863,7 @@ impl Package { url: FileLocation::AbsoluteUrl(file_url.clone()), yanked: None, }); - let index = IndexUrl::Url(VerbatimUrl::from_url(url.to_url())); + let index = IndexUrl::from(VerbatimUrl::from_url(url.to_url())); let reg_dist = RegistrySourceDist { name: self.id.name.clone(), @@ -3284,7 +3284,7 @@ impl Wheel { url: FileLocation::AbsoluteUrl(file_url.clone()), yanked: None, }); - let index = IndexUrl::Url(VerbatimUrl::from_url(index_url.to_url())); + let index = IndexUrl::from(VerbatimUrl::from_url(index_url.to_url())); Ok(RegistryBuiltWheel { filename, file,