diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2014-01-30 00:46:37 +1100 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2014-02-02 12:55:15 +1100 |
| commit | 003ce502350ed1e374b740ee2d719e500c165615 (patch) | |
| tree | e253c6227b70a139539529bbdbb4d348cb1f64c3 /src/libstd/io | |
| parent | 2bcd951749b67402ccaa31f1bb0349656f880fe2 (diff) | |
| download | rust-003ce502350ed1e374b740ee2d719e500c165615.tar.gz rust-003ce502350ed1e374b740ee2d719e500c165615.zip | |
std: rename fmt::Default to `Show`.
This is a better name with which to have a #[deriving] mode. Decision in: https://github.com/mozilla/rust/wiki/Meeting-weekly-2014-01-28
Diffstat (limited to 'src/libstd/io')
| -rw-r--r-- | src/libstd/io/process.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/io/process.rs b/src/libstd/io/process.rs index c3fb3e97edf..6a10f24916f 100644 --- a/src/libstd/io/process.rs +++ b/src/libstd/io/process.rs @@ -91,7 +91,7 @@ pub enum ProcessExit { ExitSignal(int), } -impl fmt::Default for ProcessExit { +impl fmt::Show for ProcessExit { /// Format a ProcessExit enum, to nicely present the information. fn fmt(obj: &ProcessExit, f: &mut fmt::Formatter) { match *obj { |
