From c3d0d5a4bb905fbefaaa8034ce5bef690923a8fb Mon Sep 17 00:00:00 2001 From: QuietMisdreavus Date: Fri, 22 Dec 2017 13:12:54 -0600 Subject: resolve paths when cleaning docs --- src/librustdoc/html/markdown.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/librustdoc/html') diff --git a/src/librustdoc/html/markdown.rs b/src/librustdoc/html/markdown.rs index 498c8911dc0..9bb35da246c 100644 --- a/src/librustdoc/html/markdown.rs +++ b/src/librustdoc/html/markdown.rs @@ -1169,6 +1169,8 @@ pub fn markdown_links(md: &str, render_type: RenderType) -> Vec { let s = unsafe { (*link).as_bytes() }; let s = str::from_utf8(&s).unwrap().to_owned(); + debug!("found link: {}", s); + links.push(s); } @@ -1214,6 +1216,7 @@ pub fn markdown_links(md: &str, render_type: RenderType) -> Vec { for ev in iter { if let Event::Start(Tag::Link(dest, _)) = ev { + debug!("found link: {}", dest); links.push(dest.into_owned()); } } -- cgit 1.4.1-3-g733a5