Skip to content

Commit 2cb0bdd

Browse files
author
m1guelperez
committed
Removed further new lines.
1 parent 83ce890 commit 2cb0bdd

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

library/std/src/fs/tests.rs

-4
Original file line numberDiff line numberDiff line change
@@ -205,18 +205,15 @@ fn file_test_io_seek_and_write() {
205205
let overwrite_msg = "-the-bar!!";
206206
let final_msg = "foo-the-bar!!";
207207
let seek_idx = 3;
208-
209208
let mut read_mem = [0; 13];
210209
let tmpdir = tmpdir();
211210
let filename = &tmpdir.join("file_rt_io_file_test_seek_and_write.txt");
212211
{
213212
let mut rw_stream = check!(File::create(filename));
214-
215213
check!(rw_stream.write(initial_msg.as_bytes()));
216214
check!(rw_stream.seek(SeekFrom::Start(seek_idx)));
217215
check!(rw_stream.write(overwrite_msg.as_bytes()));
218216
}
219-
220217
{
221218
let mut read_stream = check!(File::open(filename));
222219
check!(read_stream.read(&mut read_mem));
@@ -230,7 +227,6 @@ fn file_test_io_seek_and_write() {
230227
fn file_test_io_seek_shakedown() {
231228
// 01234567890123
232229
let initial_msg = "qwer-asdf-zxcv";
233-
234230
let chunk_one: &str = "qwer";
235231
let chunk_two: &str = "asdf";
236232
let chunk_three: &str = "zxcv";

0 commit comments

Comments
 (0)