From b791804f4bf72c2a2c4dc11b2dd2b21a1d4659e1 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Wed, 14 Aug 2019 14:55:22 +0200 Subject: [PATCH] src/backup/data_blob_reader.rs: impl for Read instead of BufRead --- src/backup/data_blob_reader.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backup/data_blob_reader.rs b/src/backup/data_blob_reader.rs index e1572eb2..8fc23f2d 100644 --- a/src/backup/data_blob_reader.rs +++ b/src/backup/data_blob_reader.rs @@ -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 { match &mut self.state {