update rustdoc
This commit is contained in:
parent
880343c61f
commit
7d5d6c055b
2 changed files with 2 additions and 2 deletions
|
@ -1543,7 +1543,7 @@ impl<'tcx> Clean<Type> for Ty<'tcx> {
|
||||||
|
|
||||||
DynTrait(bounds, lifetime)
|
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),
|
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() {
|
if cx.tcx.fn_trait_kind_from_lang_item(did).is_some() {
|
||||||
let inputs = match ty_kind.unwrap() {
|
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() },
|
_ => return GenericArgs::AngleBracketed { args, bindings: bindings.into() },
|
||||||
};
|
};
|
||||||
let output = None;
|
let output = None;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue