summaryrefslogtreecommitdiffstats
path: root/libimagentrymarkdown
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2017-02-05 15:29:22 +0100
committerMatthias Beyer <mail@beyermatthias.de>2017-02-05 15:57:46 +0100
commit0180aa9a6155a908ee9c0efcf8459b63691543f8 (patch)
tree45636b086322b5611f9d6392bbe7aecf80fded3b /libimagentrymarkdown
parent97eaafe5da9506e11cbc2211b751a87e6546df1b (diff)
Add "pub" to constructor fn
Diffstat (limited to 'libimagentrymarkdown')
-rw-r--r--libimagentrymarkdown/src/html.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/libimagentrymarkdown/src/html.rs b/libimagentrymarkdown/src/html.rs
index 37c16534..1fcd12c7 100644
--- a/libimagentrymarkdown/src/html.rs
+++ b/libimagentrymarkdown/src/html.rs
@@ -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 }
}