diff options
| author | bors <bors@rust-lang.org> | 2016-02-11 01:54:15 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2016-02-11 01:54:15 +0000 |
| commit | 106070b905d1d312e19f7d0e439d1a7e78d3dc05 (patch) | |
| tree | 8aa4ade04e74d30fc04ee5b094128f999db2beda /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 3f4227af139f1da30710a9f07dc28e5a3ccc6fe5 (diff) | |
| parent | c5f73ed80c9c37cceaa25ed20c0f88f9d324bd8c (diff) | |
| download | rust-106070b905d1d312e19f7d0e439d1a7e78d3dc05.tar.gz rust-106070b905d1d312e19f7d0e439d1a7e78d3dc05.zip | |
Auto merge of #31479 - kamalmarhubi:fmt-pointer-unsized, r=alexcrichton
This allows printing pointers to unsized types with the {:p} formatting
directive. The following impls are extended to unsized types:
- impl<'a, T: ?Sized> Pointer for &'a T
- impl<'a, T: ?Sized> Pointer for &'a mut T
- impl<T: ?Sized> Pointer for *const T
- impl<T: ?Sized> Pointer for *mut T
- impl<T: ?Sized> fmt::Pointer for Box<T>
- impl<T: ?Sized> fmt::Pointer for Rc<T>
- impl<T: ?Sized> fmt::Pointer for Arc<T>
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
