mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
1f1defc2f6
Add T to PhantomData impl Debug This add debug information for `PhantomData`, I believe it's make sense to add this to debug impl of `PhantomData` since `T` is what define what is the `PhantomData` just write `"PhantomData"` is not very useful for debugging. Alternative: * `PhantomData::<{}>` * `PhantomData { t: "str_type" }` `@rustbot` label +T-libs-api -T-libs |
||
---|---|---|
.. | ||
benches | ||
primitive_docs | ||
src | ||
tests | ||
Cargo.toml |