1
Fork 0

Bump debug_non_exhaustive stabilization to 1.53.

This commit is contained in:
Mara Bos 2021-03-24 22:54:04 +01:00 committed by GitHub
parent b8e498162e
commit b1fac3a5e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -185,7 +185,7 @@ impl<'a, 'b: 'a> DebugStruct<'a, 'b> {
/// "Bar { bar: 10, .. }",
/// );
/// ```
#[stable(feature = "debug_non_exhaustive", since = "1.52.0")]
#[stable(feature = "debug_non_exhaustive", since = "1.53.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).