mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
Rollup merge of #83707 - exrook:unsafecell, r=m-ou-se
Remove `T: Debug` bound on UnsafeCell Debug impl Prior art: #65013
This commit is contained in:
commit
1cc4b6de3e
@ -2268,7 +2268,7 @@ impl<T: ?Sized + Debug> Debug for RefMut<'_, T> {
|
||||
}
|
||||
|
||||
#[stable(feature = "core_impl_debug", since = "1.9.0")]
|
||||
impl<T: ?Sized + Debug> Debug for UnsafeCell<T> {
|
||||
impl<T: ?Sized> Debug for UnsafeCell<T> {
|
||||
fn fmt(&self, f: &mut Formatter<'_>) -> Result {
|
||||
f.pad("UnsafeCell")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user