Skip to content

Commit

Permalink
Rollup merge of #83707 - exrook:unsafecell, r=m-ou-se
Browse files Browse the repository at this point in the history
Remove `T: Debug` bound on UnsafeCell Debug impl

Prior art: #65013
  • Loading branch information
Dylan-DPC committed Apr 13, 2021
2 parents 9191dee + 58218f6 commit 1cc4b6d
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 1cc4b6d

Please sign in to comment.