fix borrow check issue on rustc 1.34.2
This commit is contained in:
1 parent
201b95f749
commit
1eb9c4fab7
1 file changed
+1
-1
+1
-1
@@ -973,7 +973,7 @@ impl<R: Read + Seek> Decoder<R> {
|
||||
match reader.read(&mut buffer[bytes_written..]) {
|
||||
Ok(0) => break,
|
||||
Ok(n) => bytes_written += n,
|
||||
Err(e) if e.kind() == io::ErrorKind::Interrupted => {}
|
||||
Err(ref e) if e.kind() == io::ErrorKind::Interrupted => {}
|
||||
Err(e) => Err(e)?,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user