diff --git a/libimagentrymarkdown/src/link.rs b/libimagentrymarkdown/src/link.rs index 267ef344..9f13fe65 100644 --- a/libimagentrymarkdown/src/link.rs +++ b/libimagentrymarkdown/src/link.rs @@ -36,7 +36,7 @@ pub struct Link { impl Link { /// Translate a `Link` into a `UrlLink` - fn into_urllink(self) -> Result { + pub fn into_urllink(self) -> Result { Url::parse(&self.link[..]) .map(move |link| UrlLink { title: self.title, link: link, }) .map_err(Box::new)