Fix error formatting a bit
authorAbhishek Chanda <abhishek.chanda@emc.com>
Wed, 12 Aug 2015 06:27:53 +0000 (23:27 -0700)
committerAbhishek Chanda <abhishek.chanda@emc.com>
Wed, 12 Aug 2015 06:27:53 +0000 (23:27 -0700)
src/cargo/ops/registry.rs

index ee2e78f5252617765bf55853b292f953eb602eff..2591dd2d1f807898261ebf71f88b75aa35ff6a93 100644 (file)
@@ -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 crate {}",
                                                         v, name)));
             try!(registry.add_owners(&name, &v).map_err(|e| {
                 human(format!("failed to add owners: {}", e))
@@ -290,7 +290,7 @@ pub fn modify_owners(config: &Config, opts: &OwnersOptions) -> CargoResult<()> {
     match opts.to_remove {
         Some(ref v) => {
             let v = v.iter().map(|s| &s[..]).collect::<Vec<_>>();
-            try!(config.shell().status("Owner", format!("removing `{:?}` from `{}`",
+            try!(config.shell().status("Owner", format!("removing {:?} from crate {}",
                                                         v, name)));
             try!(registry.remove_owners(&name, &v).map_err(|e| {
                 human(format!("failed to remove owners: {}", e))