Skip to content

Commit 37d9b5c

Browse files
authored
Use struct shorthand syntax
1 parent 1da79ba commit 37d9b5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/sources/registry/http_remote.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ impl<'cfg> HttpRegistry<'cfg> {
177177
cache_path: config.registry_cache_path().join(name),
178178
source_id,
179179
config,
180-
url: url,
180+
url,
181181
multi: Multi::new(),
182182
multiplexing: false,
183183
downloads: Downloads {

0 commit comments

Comments
 (0)