Shrink Dist from 352 to 288 bytes (#10389)

Found this when looking at #10385. Since we're constructing a lot of
`Dist`s, we should keep it small.
This commit is contained in:
konsti 2025-01-08 15:33:19 +01:00 committed by GitHub
parent 15c81e9a02
commit c5583b326f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 7 additions and 7 deletions

View file

@ -33,7 +33,7 @@ pub(crate) async fn wheel_metadata(args: WheelMetadataArgs) -> Result<()> {
.wheel_metadata(
&BuiltDist::DirectUrl(DirectUrlBuiltDist {
filename,
location: archive.url,
location: Box::new(archive.url),
url: args.url,
}),
&capabilities,