mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
Use struct shorthand syntax
This commit is contained in:
parent
1da79baf54
commit
37d9b5c49a
@ -177,7 +177,7 @@ impl<'cfg> HttpRegistry<'cfg> {
|
|||||||
cache_path: config.registry_cache_path().join(name),
|
cache_path: config.registry_cache_path().join(name),
|
||||||
source_id,
|
source_id,
|
||||||
config,
|
config,
|
||||||
url: url,
|
url,
|
||||||
multi: Multi::new(),
|
multi: Multi::new(),
|
||||||
multiplexing: false,
|
multiplexing: false,
|
||||||
downloads: Downloads {
|
downloads: Downloads {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user