src/backup/data_blob_reader.rs: impl for Read instead of BufRead

This commit is contained in:
Dietmar Maurer 2019-08-14 14:55:22 +02:00
parent 39a4df61d6
commit b791804f4b
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ impl <'a, R: Read> DataBlobReader<'a, R> {
}
}
impl <'a, R: BufRead> Read for DataBlobReader<'a, R> {
impl <'a, R: Read> Read for DataBlobReader<'a, R> {
fn read(&mut self, buf: &mut [u8]) -> Result<usize, std::io::Error> {
match &mut self.state {