where possible, pass slices instead of &Vec or &String (clippy::ptr_arg)
This commit is contained in:
parent
b9c403be11
commit
bdc9291ed9
13 changed files with 21 additions and 27 deletions
|
@ -76,7 +76,7 @@ impl<'a> FileSearch<'a> {
|
|||
pub fn new(
|
||||
sysroot: &'a Path,
|
||||
triple: &'a str,
|
||||
search_paths: &'a Vec<SearchPath>,
|
||||
search_paths: &'a [SearchPath],
|
||||
tlib_path: &'a SearchPath,
|
||||
kind: PathKind,
|
||||
) -> FileSearch<'a> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue