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/libsyntax/parse | |
| 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/libsyntax/parse')
| -rw-r--r-- | src/libsyntax/parse/token.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/token.rs b/src/libsyntax/parse/token.rs index d6edccd33a4..6d2acd3d803 100644 --- a/src/libsyntax/parse/token.rs +++ b/src/libsyntax/parse/token.rs @@ -587,7 +587,7 @@ impl BytesContainer for InternedString { } } -impl fmt::Default for InternedString { +impl fmt::Show for InternedString { fn fmt(obj: &InternedString, f: &mut fmt::Formatter) { write!(f.buf, "{}", obj.string.as_slice()); } |
