Use struct shorthand syntax

This commit is contained in:
Weihang Lo 2022-11-27 23:33:25 +08:00 committed by GitHub
parent 1da79baf54
commit 37d9b5c49a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {