From 2a13e41b31339a8eebd40f92974a70ce097c6483 Mon Sep 17 00:00:00 2001 From: Googler Date: Wed, 25 Mar 2026 18:25:12 -0700 Subject: [PATCH] [Re-submit] Remove direct `impl Display` on crubit `string` type PiperOrigin-RevId: 889536767 --- support/cc_std_impl/string.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/support/cc_std_impl/string.rs b/support/cc_std_impl/string.rs index 84b3f30b9..ee5df7450 100644 --- a/support/cc_std_impl/string.rs +++ b/support/cc_std_impl/string.rs @@ -228,12 +228,6 @@ impl core::fmt::Debug for string_wrapper { } } -impl core::fmt::Display for string_wrapper { - fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { - self.display().fmt(f) - } -} - // Allow converting a cc_std::std::string_wrapper reference to a "real" C++ string pointer. type StringSymbol = forward_declare::symbol!(