]> git.lizzy.rs Git - rust.git/commit
Fix source-links for files with absolute-paths
authormitaa <mitaa.ceb@gmail.com>
Tue, 23 Feb 2016 06:52:43 +0000 (07:52 +0100)
committermitaa <mitaa.ceb@gmail.com>
Wed, 24 Feb 2016 18:43:02 +0000 (19:43 +0100)
commitcf76fcf30d1efefd01bba0ed9b81cd867262346f
treeb1d0ff603cb4909b84eab7b3dd29413934b90664
parent27ca2507defe13c5c989a9aa64d138645a7db65e
Fix source-links for files with absolute-paths

`clean_srcpath` tries to make the source-path relative to `src_root`,
but this didn't work since `src_root` itself wasn't absolute.
src/librustdoc/clean/mod.rs
src/librustdoc/html/render.rs
src/test/rustdoc/issue-26995.rs [new file with mode: 0644]