diff --git a/google-apis-common/src/lib.rs b/google-apis-common/src/lib.rs index 71907cb8d26..6bf1d687e70 100644 --- a/google-apis-common/src/lib.rs +++ b/google-apis-common/src/lib.rs @@ -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)); } _ => {}