From 58218f6c27843f57a26fb861ca9b4c3e006cb285 Mon Sep 17 00:00:00 2001 From: Jacob Hughes Date: Wed, 31 Mar 2021 12:11:36 -0400 Subject: [PATCH] Remove T: Debug bound on UnsafeCell Debug impl --- library/core/src/fmt/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/core/src/fmt/mod.rs b/library/core/src/fmt/mod.rs index d696ffa82774b..59493bb0425f3 100644 --- a/library/core/src/fmt/mod.rs +++ b/library/core/src/fmt/mod.rs @@ -2268,7 +2268,7 @@ impl Debug for RefMut<'_, T> { } #[stable(feature = "core_impl_debug", since = "1.9.0")] -impl Debug for UnsafeCell { +impl Debug for UnsafeCell { fn fmt(&self, f: &mut Formatter<'_>) -> Result { f.pad("UnsafeCell") }