Skip to content

Commit

Permalink
Use struct shorthand syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
weihanglo authored Nov 27, 2022
1 parent 1da79ba commit 37d9b5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cargo/sources/registry/http_remote.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ impl<'cfg> HttpRegistry<'cfg> {
cache_path: config.registry_cache_path().join(name),
source_id,
config,
url: url,
url,
multi: Multi::new(),
multiplexing: false,
downloads: Downloads {
Expand Down

0 comments on commit 37d9b5c

Please sign in to comment.