Remove T: Debug bound on UnsafeCell Debug impl

This commit is contained in:
Jacob Hughes 2021-03-31 12:11:36 -04:00
parent a5029ac0ab
commit 58218f6c27

View file

@ -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")
}