diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-05-11 11:14:14 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-05-15 23:22:15 -0700 |
| commit | 2e2160b026d7a2b2d13c3a2b4d6aa073ab3ff43f (patch) | |
| tree | e4bebf36fa24fe0fe4dd6846291c59520ef1be28 /src/libstd/io | |
| parent | d12a136b2247ab5cf5b32e44a890b3a871c0ce90 (diff) | |
| download | rust-2e2160b026d7a2b2d13c3a2b4d6aa073ab3ff43f.tar.gz rust-2e2160b026d7a2b2d13c3a2b4d6aa073ab3ff43f.zip | |
core: Update all tests for fmt movement
Diffstat (limited to 'src/libstd/io')
| -rw-r--r-- | src/libstd/io/process.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/io/process.rs b/src/libstd/io/process.rs index 88ed7e9c0d3..fc760e6fe4c 100644 --- a/src/libstd/io/process.rs +++ b/src/libstd/io/process.rs @@ -308,9 +308,9 @@ impl fmt::Show for Command { /// non-utf8 data is lossily converted using the utf8 replacement /// character. fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { - try!(write!(f.buf, "{}", str::from_utf8_lossy(self.program.as_bytes_no_nul()))); + try!(write!(f, "{}", str::from_utf8_lossy(self.program.as_bytes_no_nul()))); for arg in self.args.iter() { - try!(write!(f.buf, " '{}'", str::from_utf8_lossy(arg.as_bytes_no_nul()))); + try!(write!(f, " '{}'", str::from_utf8_lossy(arg.as_bytes_no_nul()))); } Ok(()) } |
