More purity to make it easier to borrow strings in format strings.
This commit is contained in:
parent
f5be06fa1f
commit
7ecddb2771
3 changed files with 9 additions and 9 deletions
|
|
@ -1616,7 +1616,7 @@ fn cmd_sources(c: cargo) {
|
|||
if vec::len(c.opts.free) < 3u {
|
||||
for c.sources.each_value |v| {
|
||||
info(#fmt("%s (%s) via %s",
|
||||
copy v.name, copy v.url, copy v.method));
|
||||
v.name, v.url, v.method));
|
||||
}
|
||||
ret;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue