Skip to content

Commit

Permalink
auto merge of #719 : alexcrichton/cargo/update-docopt, r=alexcrichton
Browse files Browse the repository at this point in the history
  • Loading branch information
bors committed Oct 17, 2014
2 parents 9788700 + 50237ed commit c3fd7d0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
14 changes: 7 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions tests/support/mod.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
use std::io;
use std::fmt::{mod, Show};
use std::io::fs::{mod, PathExtensions};
use std::io::process::{ProcessOutput};
use std::io;
use std::os;
use std::path::{Path,BytesContainer};
use std::str;
use std::vec::Vec;
use std::fmt::Show;
use url::Url;
use hamcrest as ham;
use cargo::util::{process,ProcessBuilder};
Expand Down Expand Up @@ -379,9 +379,9 @@ fn zip_all<T, I1: Iterator<T>, I2: Iterator<T>>(a: I1, b: I2) -> ZipAll<T, I1, I
}
}

impl ham::SelfDescribing for Execs {
fn describe(&self) -> String {
"execs".to_string()
impl fmt::Show for Execs {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
write!(f, "execs")
}
}

Expand Down Expand Up @@ -421,9 +421,9 @@ struct ShellWrites {
expected: String
}

impl ham::SelfDescribing for ShellWrites {
fn describe(&self) -> String {
format!("`{}` written to the shell", self.expected)
impl fmt::Show for ShellWrites {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
write!(f, "`{}` written to the shell", self.expected)
}
}

Expand Down

0 comments on commit c3fd7d0

Please sign in to comment.