]> git.lizzy.rs Git - rust.git/commit
Introduce `SearchPath` and replace `SearchPaths` with `Vec<SearchPath>`.
authorNicholas Nethercote <nnethercote@mozilla.com>
Thu, 22 Nov 2018 05:33:07 +0000 (16:33 +1100)
committerNicholas Nethercote <nnethercote@mozilla.com>
Tue, 11 Dec 2018 23:36:15 +0000 (10:36 +1100)
commitf13006182c9df451e7703307467fc1717239cf6e
tree0b66ca2062a0484bb66615602e584263cda13d64
parent2640da7d13a1051dddcf93c06f9ae90508fce6fb
Introduce `SearchPath` and replace `SearchPaths` with `Vec<SearchPath>`.

It's more idiomatic, makes the code shorter, and will help with the next
commit.
src/librustc/session/config.rs
src/librustc/session/filesearch.rs
src/librustc/session/search_paths.rs
src/librustc_codegen_llvm/back/link.rs
src/librustdoc/config.rs
src/librustdoc/core.rs
src/librustdoc/test.rs