1
Fork 0

Auto merge of #97365 - klensy:rustdoc-vs-clippy, r=notriddle

rustdoc: fix few clippy lints

Fix few clippy lints: second commit - perf ones, first - other ones.
This commit is contained in:
bors 2022-05-25 01:12:54 +00:00
commit 6ac8adad1f
22 changed files with 104 additions and 105 deletions

View file

@ -106,7 +106,7 @@ fn external_generic_args<'tcx>(
bindings: Vec<TypeBinding>,
substs: SubstsRef<'tcx>,
) -> GenericArgs {
let args = substs_to_args(cx, &substs, has_self);
let args = substs_to_args(cx, substs, has_self);
if cx.tcx.fn_trait_kind_from_lang_item(did).is_some() {
let inputs =