fix clippy

This commit is contained in:
Sebastian Thiel
2023-02-22 09:20:25 +01:00
parent e53a03e8b8
commit ad51cb96a5

View File

@@ -430,7 +430,7 @@ impl<'a> Read for MultiPartReader<'a> {
LINE_ENDING,
))
.unwrap();
c.seek(SeekFrom::Start(0)).unwrap();
c.rewind().unwrap();
self.current_part = Some((c, reader));
}
_ => {}