Skip to content

Commit fbd89a9

Browse files
committed
fix visiblity
1 parent 87c80ad commit fbd89a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

chapter3/src/3_7/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use std::{
55
usize,
66
};
77

8-
pub struct MultiReader<R> {
8+
struct MultiReader<R> {
99
readers: Vec<R>,
1010
pos: usize,
1111
}
@@ -47,7 +47,7 @@ where
4747
R: Read,
4848
W: Write,
4949
{
50-
pub fn new(reader: R, writer: W) -> Self {
50+
fn new(reader: R, writer: W) -> Self {
5151
Self { reader, writer }
5252
}
5353
}

0 commit comments

Comments
 (0)