diff options
| author | bors <bors@rust-lang.org> | 2015-01-11 16:45:48 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-01-11 16:45:48 +0000 |
| commit | 2e4cef4e78253beb4c08ed35416fad076d978344 (patch) | |
| tree | 5d1aac35761a2a667c1904c8695ba765f2f45cb6 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 2127e0d56d85ff48aafce90ab762650e46370b63 (diff) | |
| parent | b4fae2fba99e713a6d6a8a59caaf1cfba847b50e (diff) | |
| download | rust-2e4cef4e78253beb4c08ed35416fad076d978344.tar.gz rust-2e4cef4e78253beb4c08ed35416fad076d978344.zip | |
auto merge of #20910 : sfackler/rust/show-impls, r=alexcrichton
A derived implementation would not be appropriate for the Buffered types since the buffer is both huge (64k by default) and full of uninitialized memory. Instead of printing the whole thing, we display how full it is. I also altered `MultiWriter` to make it generic over Writers instead of taking `Box<Writer>` trait objects. `Box<Writer>` implements `Writer` so existing use cases should continue to work, and this enables a more useful Show implementation in applicable cases. The change to `MultiWriter` may break code that uses it, but any fixes should be easy. [breaking-change] r? @alexcrichton
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
