From b8e498162eb776bf02d98be2e23784cd7f2422be Mon Sep 17 00:00:00 2001 From: Gus Wynn Date: Fri, 12 Mar 2021 08:52:26 -0800 Subject: [PATCH] Update library/core/src/fmt/builders.rs Co-authored-by: Yuki Okushi --- library/core/src/fmt/builders.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/core/src/fmt/builders.rs b/library/core/src/fmt/builders.rs index 1321bb90187a..63abf75641f3 100644 --- a/library/core/src/fmt/builders.rs +++ b/library/core/src/fmt/builders.rs @@ -185,7 +185,7 @@ impl<'a, 'b: 'a> DebugStruct<'a, 'b> { /// "Bar { bar: 10, .. }", /// ); /// ``` - #[stable(feature = "debug_non_exhaustive", since = "1.51.0")] + #[stable(feature = "debug_non_exhaustive", since = "1.52.0")] pub fn finish_non_exhaustive(&mut self) -> fmt::Result { self.result = self.result.and_then(|_| { // Draw non-exhaustive dots (`..`), and open brace if necessary (no fields).