replace a few unwraps() with ? where possible

This commit is contained in:
Sebastian Thiel
2023-02-22 09:21:23 +01:00
parent ad51cb96a5
commit 6e0caa3b22

View File

@@ -428,9 +428,8 @@ impl<'a> Read for MultiPartReader<'a> {
.join(LINE_ENDING),
LINE_ENDING,
LINE_ENDING,
))
.unwrap();
c.rewind().unwrap();
))?;
c.rewind()?;
self.current_part = Some((c, reader));
}
_ => {}