about summary refs log tree commit diff
path: root/library/std/src/io
diff options
context:
space:
mode:
authorMara Bos <m-ou.se@m-ou.se>2021-03-27 13:29:23 +0100
committerMara Bos <m-ou.se@m-ou.se>2021-03-27 13:29:23 +0100
commit2afa4cc958d3d65957083f3ae0bded237cce9a87 (patch)
tree4b8de9e1a21719743462e365ad244d661d7b4043 /library/std/src/io
parentfeaac19f1710ebcfecc783d51f52a9b0d8e998f5 (diff)
downloadrust-2afa4cc958d3d65957083f3ae0bded237cce9a87.tar.gz
rust-2afa4cc958d3d65957083f3ae0bded237cce9a87.zip
Use DebugStruct::finish_non_exhaustive() in std.
Diffstat (limited to 'library/std/src/io')
-rw-r--r--library/std/src/io/buffered/linewriter.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/io/buffered/linewriter.rs b/library/std/src/io/buffered/linewriter.rs
index 502c6e3c6c0..d7b620d6f91 100644
--- a/library/std/src/io/buffered/linewriter.rs
+++ b/library/std/src/io/buffered/linewriter.rs
@@ -227,6 +227,6 @@ where
                 "buffer",
                 &format_args!("{}/{}", self.inner.buffer().len(), self.inner.capacity()),
             )
-            .finish()
+            .finish_non_exhaustive()
     }
 }