Skip to content

Commit

Permalink
replace a few unwraps() with ? where possible
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Feb 22, 2023
1 parent ad51cb9 commit 6e0caa3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions google-apis-common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
_ => {}
Expand Down

0 comments on commit 6e0caa3

Please sign in to comment.