update rustdoc
This commit is contained in:
parent
880343c61f
commit
7d5d6c055b
@ -1543,7 +1543,7 @@ impl<'tcx> Clean<Type> for Ty<'tcx> {
|
||||
|
||||
DynTrait(bounds, lifetime)
|
||||
}
|
||||
ty::Tuple(t) => Tuple(t.iter().map(|t| t.expect_ty().clean(cx)).collect()),
|
||||
ty::Tuple(t) => Tuple(t.iter().map(|t| t.clean(cx)).collect()),
|
||||
|
||||
ty::Projection(ref data) => data.clean(cx),
|
||||
|
||||
|
@ -109,7 +109,7 @@ fn external_generic_args(
|
||||
|
||||
if cx.tcx.fn_trait_kind_from_lang_item(did).is_some() {
|
||||
let inputs = match ty_kind.unwrap() {
|
||||
ty::Tuple(tys) => tys.iter().map(|t| t.expect_ty().clean(cx)).collect(),
|
||||
ty::Tuple(tys) => tys.iter().map(|t| t.clean(cx)).collect(),
|
||||
_ => return GenericArgs::AngleBracketed { args, bindings: bindings.into() },
|
||||
};
|
||||
let output = None;
|
||||
|
Loading…
x
Reference in New Issue
Block a user