Update library/core/src/fmt/builders.rs
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
This commit is contained in:
parent
73ddfa0eea
commit
b8e498162e
1 changed files with 1 additions and 1 deletions
|
|
@ -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).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue