summaryrefslogtreecommitdiff
path: root/libimagentrymarkdown/src/html.rs
diff options
context:
space:
mode:
Diffstat (limited to 'libimagentrymarkdown/src/html.rs')
-rw-r--r--libimagentrymarkdown/src/html.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/libimagentrymarkdown/src/html.rs b/libimagentrymarkdown/src/html.rs
index e0a7b8b..1fcd12c 100644
--- a/libimagentrymarkdown/src/html.rs
+++ b/libimagentrymarkdown/src/html.rs
@@ -49,7 +49,7 @@ pub mod iter {
impl<I: Iterator<Item = Entry>> ToHtmlIterator<I> {
- fn new(i: I) -> ToHtmlIterator<I> {
+ pub fn new(i: I) -> ToHtmlIterator<I> {
ToHtmlIterator { i: i }
}
@@ -80,7 +80,7 @@ pub mod iter {
impl<I: Iterator<Item = Entry>> WithHtmlIterator<I> {
- fn new(i: I) -> WithHtmlIterator<I> {
+ pub fn new(i: I) -> WithHtmlIterator<I> {
WithHtmlIterator { i: i }
}