about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGus Wynn <guswynn@gmail.com>2021-03-12 08:52:26 -0800
committerGitHub <noreply@github.com>2021-03-12 08:52:26 -0800
commitb8e498162eb776bf02d98be2e23784cd7f2422be (patch)
tree73ab6dbdde588424fcd9e0ecc80df2617a492a71
parent73ddfa0eeacb0325acfb1fb02ec730493c8ceda2 (diff)
downloadrust-b8e498162eb776bf02d98be2e23784cd7f2422be.tar.gz
rust-b8e498162eb776bf02d98be2e23784cd7f2422be.zip
Update library/core/src/fmt/builders.rs
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
-rw-r--r--library/core/src/fmt/builders.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/fmt/builders.rs b/library/core/src/fmt/builders.rs
index 1321bb90187..63abf75641f 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).