diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs index 2e33bef380c..61e054fa255 100644 --- a/src/libstd/io/mod.rs +++ b/src/libstd/io/mod.rs @@ -1058,7 +1058,7 @@ impl Stream for T {} /// Raises the same conditions as the `read` method except for `EndOfFile` /// which is swallowed. /// Iteration yields `None` if the condition is handled. -struct LineIterator<'r, T> { +pub struct LineIterator<'r, T> { priv buffer: &'r mut T, }