about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorKamal Marhubi <kamal@marhubi.com>2016-02-07 17:57:01 -0500
committerKamal Marhubi <kamal@marhubi.com>2016-02-08 14:08:19 -0500
commitc5f73ed80c9c37cceaa25ed20c0f88f9d324bd8c (patch)
tree74e9d197244f8f2fba5a2ac2afde8f52201e6c30 /src/libstd/sys/unix/stack_overflow.rs
parent26105b1a3765a73bab44fb18ccbd5a4635018fdf (diff)
downloadrust-c5f73ed80c9c37cceaa25ed20c0f88f9d324bd8c.tar.gz
rust-c5f73ed80c9c37cceaa25ed20c0f88f9d324bd8c.zip
Implement fmt::Pointer for pointers to unsized types
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