projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e943040
)
Do not print extra newlines on error
author
Abhishek Chanda
<abhishek.chanda@emc.com>
Tue, 11 Aug 2015 01:15:41 +0000
(18:15 -0700)
committer
Abhishek Chanda
<abhishek.chanda@emc.com>
Tue, 11 Aug 2015 01:15:41 +0000
(18:15 -0700)
Closes #1878
src/cargo/ops/registry.rs
patch
|
blob
|
history
diff --git
a/src/cargo/ops/registry.rs
b/src/cargo/ops/registry.rs
index bcc9f3a14cd342b8a863b0d98a91d5a4b1e2086a..ee2e78f5252617765bf55853b292f953eb602eff 100644
(file)
--- a/
src/cargo/ops/registry.rs
+++ b/
src/cargo/ops/registry.rs
@@
-278,7
+278,7
@@
pub fn modify_owners(config: &Config, opts: &OwnersOptions) -> CargoResult<()> {
match opts.to_add {
Some(ref v) => {
let v = v.iter().map(|s| &s[..]).collect::<Vec<_>>();
- try!(config.shell().status("Owner", format!("adding `{:
#
?}` to `{}`",
+ try!(config.shell().status("Owner", format!("adding `{:?}` to `{}`",
v, name)));
try!(registry.add_owners(&name, &v).map_err(|e| {
human(format!("failed to add owners: {}", e))