Allow clippy::needless_pass_by_value

This commit is contained in:
Alan Du 2019-06-04 02:21:29 -04:00
parent a181fd318b
commit 557e90c6ca

View File

@ -144,7 +144,8 @@ pub fn run_clippy() -> Result<()> {
_ => install_clippy()?,
};
let allowed_lints = ["clippy::collapsible_if", "clippy::nonminimal_bool"];
let allowed_lints =
["clippy::collapsible_if", "clippy::nonminimal_bool", "clippy::needless_pass_by_value"];
run(
&format!(
"rustup run {} -- cargo clippy --all-features --all-targets -- -A {}",