1 error: used `seek` to go to the start of the stream
2 --> $DIR/seek_to_start_instead_of_rewind.rs:53:7
4 LL | t.seek(SeekFrom::Start(0));
5 | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `rewind()`
7 = note: `-D clippy::seek-to-start-instead-of-rewind` implied by `-D warnings`
9 error: used `seek` to go to the start of the stream
10 --> $DIR/seek_to_start_instead_of_rewind.rs:58:7
12 LL | t.seek(SeekFrom::Start(0));
13 | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `rewind()`
15 error: used `seek` to go to the start of the stream
16 --> $DIR/seek_to_start_instead_of_rewind.rs:134:7
18 LL | f.seek(SeekFrom::Start(0));
19 | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `rewind()`
21 error: aborting due to 3 previous errors