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:
commit
6ac8adad1f
22 changed files with 104 additions and 105 deletions
|
@ -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 =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue