Skip to content

Commit

Permalink
Remove T: Debug bound on UnsafeCell Debug impl
Browse files Browse the repository at this point in the history
  • Loading branch information
exrook committed Mar 31, 2021
1 parent a5029ac commit 58218f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/fmt/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Expand Down

0 comments on commit 58218f6

Please sign in to comment.