diff options
| author | Steven Fackler <sfackler@gmail.com> | 2015-03-26 22:42:29 -0700 |
|---|---|---|
| committer | Steven Fackler <sfackler@gmail.com> | 2015-03-28 10:33:51 -0700 |
| commit | 4037f2a368edd75c561bc6f3d8c6f0d644bc4180 (patch) | |
| tree | 25ef8c2faee1ff9f30bf1d82d557bc50d4d90f00 /src/libstd/lib.rs | |
| parent | 3e7385aae9d58c8e12137d7c07aad48551048c13 (diff) | |
| download | rust-4037f2a368edd75c561bc6f3d8c6f0d644bc4180.tar.gz rust-4037f2a368edd75c561bc6f3d8c6f0d644bc4180.zip | |
Update debug helpers and add list builder
The collections debug helpers no longer prefix output with the collection name, in line with the current conventions for Debug implementations. Implementations that want to preserve the current behavior can simply add a `try!(write!(fmt, "TypeName "));` at the beginning of the `fmt` method. [breaking-change]
Diffstat (limited to 'src/libstd/lib.rs')
| -rw-r--r-- | src/libstd/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index 5f5f2fed567..b7cb8f9ed50 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -128,6 +128,7 @@ #![feature(into_cow)] #![feature(slice_patterns)] #![feature(std_misc)] +#![feature(debug_builders)] #![cfg_attr(test, feature(test, rustc_private, std_misc))] // Don't link to std. We are std. |
