committed by
Jakob Stoklund Olesen
parent
c8be39fa9d
commit
7459fee71a
@@ -47,9 +47,9 @@ impl<'a> TestCommand<'a> {
|
||||
|
||||
impl<'a> Display for TestCommand<'a> {
|
||||
fn fmt(&self, f: &mut Formatter) -> fmt::Result {
|
||||
try!(write!(f, "{}", self.command));
|
||||
write!(f, "{}", self.command)?;
|
||||
for opt in &self.options {
|
||||
try!(write!(f, " {}", opt));
|
||||
write!(f, " {}", opt)?;
|
||||
}
|
||||
writeln!(f, "")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user