Skip to content

Commit b19e1b9

Browse files
committed
add Read constraint
1 parent 1326cde commit b19e1b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/src/io/multi_reader.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ use std::io::Read;
2121
/// Ok(())
2222
/// }
2323
/// ```
24-
pub struct MultiReader<R> {
24+
pub struct MultiReader<R: Read> {
2525
readers: Vec<R>,
2626
/// Points to where we read right now.
2727
pos: usize,

0 commit comments

Comments
 (0)