diff options
Diffstat (limited to 'library/core/src/fmt/builders.rs')
| -rw-r--r-- | library/core/src/fmt/builders.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/library/core/src/fmt/builders.rs b/library/core/src/fmt/builders.rs index d95d43f0854..1321bb90187 100644 --- a/library/core/src/fmt/builders.rs +++ b/library/core/src/fmt/builders.rs @@ -165,7 +165,6 @@ impl<'a, 'b: 'a> DebugStruct<'a, 'b> { /// # Examples /// /// ``` - /// # #![feature(debug_non_exhaustive)] /// use std::fmt; /// /// struct Bar { @@ -186,7 +185,7 @@ impl<'a, 'b: 'a> DebugStruct<'a, 'b> { /// "Bar { bar: 10, .. }", /// ); /// ``` - #[unstable(feature = "debug_non_exhaustive", issue = "67364")] + #[stable(feature = "debug_non_exhaustive", since = "1.51.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). |
