diff options
| author | QuietMisdreavus <grey@quietmisdreavus.net> | 2017-12-22 13:12:54 -0600 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2018-01-22 15:21:28 +0530 |
| commit | c3d0d5a4bb905fbefaaa8034ce5bef690923a8fb (patch) | |
| tree | 4da8ac55513604f01813327ab44a7917a0637ad5 /src/librustdoc/html | |
| parent | 76f831647ade4a5e82244bd4d19da308478cc83d (diff) | |
| download | rust-c3d0d5a4bb905fbefaaa8034ce5bef690923a8fb.tar.gz rust-c3d0d5a4bb905fbefaaa8034ce5bef690923a8fb.zip | |
resolve paths when cleaning docs
Diffstat (limited to 'src/librustdoc/html')
| -rw-r--r-- | src/librustdoc/html/markdown.rs | 3 |
1 files changed, 3 insertions, 0 deletions
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<String> { 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<String> { for ev in iter { if let Event::Start(Tag::Link(dest, _)) = ev { + debug!("found link: {}", dest); links.push(dest.into_owned()); } } |
