File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1834,7 +1834,7 @@ pub(crate) fn clean_ty<'tcx>(ty: &hir::Ty<'tcx>, cx: &mut DocContext<'tcx>) -> T
1834
1834
} ;
1835
1835
DynTrait ( bounds, lifetime)
1836
1836
}
1837
- TyKind :: BareFn ( barefn) => BareFunction ( Box :: new ( clean_bare_fn_ty ( barefn, cx) ) ) ,
1837
+ TyKind :: FnPtr ( barefn) => BareFunction ( Box :: new ( clean_bare_fn_ty ( barefn, cx) ) ) ,
1838
1838
TyKind :: UnsafeBinder ( unsafe_binder_ty) => {
1839
1839
UnsafeBinder ( Box :: new ( clean_unsafe_binder_ty ( unsafe_binder_ty, cx) ) )
1840
1840
}
@@ -2558,7 +2558,7 @@ fn clean_path_segment<'tcx>(
2558
2558
}
2559
2559
2560
2560
fn clean_bare_fn_ty < ' tcx > (
2561
- bare_fn : & hir:: BareFnTy < ' tcx > ,
2561
+ bare_fn : & hir:: FnPtrTy < ' tcx > ,
2562
2562
cx : & mut DocContext < ' tcx > ,
2563
2563
) -> BareFunctionDecl {
2564
2564
let ( generic_params, decl) = enter_impl_trait ( cx, |cx| {
You can’t perform that action at this time.
0 commit comments