Make "new" function public

This commit is contained in:
Matthias Beyer 2017-02-05 15:02:38 +01:00
parent f22bcf0c74
commit 4796d5caa4

View file

@ -49,7 +49,7 @@ pub mod iter {
impl<I: Iterator<Item = Entry>> ToHtmlIterator<I> { impl<I: Iterator<Item = Entry>> ToHtmlIterator<I> {
fn new(i: I) -> ToHtmlIterator<I> { pub fn new(i: I) -> ToHtmlIterator<I> {
ToHtmlIterator { i: i } ToHtmlIterator { i: i }
} }