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:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user