]> git.lizzy.rs Git - rust.git/commit
rustdoc: Fix a couple of issues with src links to external crates
authorOliver Middleton <olliemail27@gmail.com>
Sat, 18 Jun 2016 17:41:13 +0000 (18:41 +0100)
committerOliver Middleton <olliemail27@gmail.com>
Mon, 20 Jun 2016 21:22:17 +0000 (22:22 +0100)
commitebfdd110c3ae32e91627f1d75bf089560bf98c9b
tree6d2bb6b79aaf87a44671609c393bef11ac1f7ece
parent3313e50594aeb8e81dbe7bac27addcf41be40f9c
rustdoc: Fix a couple of issues with src links to external crates

- src links/redirects to extern fn from another crate had an extra '/'.
- src links to `pub use` of a crate module had an extra '/'.
- src links to renamed reexports from another crate used the new name
  for the link but should use the original name.
src/librustdoc/clean/inline.rs
src/librustdoc/html/render.rs
src/test/rustdoc/auxiliary/issue-34274.rs [new file with mode: 0644]
src/test/rustdoc/auxiliary/src-links-external.rs [new file with mode: 0644]
src/test/rustdoc/issue-34274.rs [new file with mode: 0644]
src/test/rustdoc/src-links-external.rs [new file with mode: 0644]