about summary refs log tree commit diff
path: root/library/std/src/io/buffered/tests.rs
diff options
context:
space:
mode:
authorAndré Vennberg <andre.vennberg@gmail.com>2023-01-14 16:33:11 +0100
committerAndré Vennberg <andre.vennberg@gmail.com>2023-01-14 17:22:04 +0100
commit0b35f448f8e9f39ed6fc1c494eeb331afba513bc (patch)
treec2669a980d1b6d0414ec2fc0c79600f0d1b090cf /library/std/src/io/buffered/tests.rs
parent44a500c8c187b245638684748f54bd6ec67e0b25 (diff)
downloadrust-0b35f448f8e9f39ed6fc1c494eeb331afba513bc.tar.gz
rust-0b35f448f8e9f39ed6fc1c494eeb331afba513bc.zip
Remove various double spaces in source comments.
Diffstat (limited to 'library/std/src/io/buffered/tests.rs')
-rw-r--r--library/std/src/io/buffered/tests.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/io/buffered/tests.rs b/library/std/src/io/buffered/tests.rs
index f4e688eb926..4c1b7d57684 100644
--- a/library/std/src/io/buffered/tests.rs
+++ b/library/std/src/io/buffered/tests.rs
@@ -288,8 +288,8 @@ fn test_buffered_reader_seek_underflow_discard_buffer_between_seeks() {
     let mut reader = BufReader::with_capacity(5, ErrAfterFirstSeekReader { first_seek: true });
     assert_eq!(reader.fill_buf().ok(), Some(&[0, 0, 0, 0, 0][..]));
 
-    // The following seek will require two underlying seeks.  The first will
-    // succeed but the second will fail.  This should still invalidate the
+    // The following seek will require two underlying seeks. The first will
+    // succeed but the second will fail. This should still invalidate the
     // buffer.
     assert!(reader.seek(SeekFrom::Current(i64::MIN)).is_err());
     assert_eq!(reader.buffer().len(), 0);