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
18341834 } ;
18351835 DynTrait ( bounds, lifetime)
18361836 }
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) ) ) ,
18381838 TyKind :: UnsafeBinder ( unsafe_binder_ty) => {
18391839 UnsafeBinder ( Box :: new ( clean_unsafe_binder_ty ( unsafe_binder_ty, cx) ) )
18401840 }
@@ -2558,7 +2558,7 @@ fn clean_path_segment<'tcx>(
25582558}
25592559
25602560fn clean_bare_fn_ty < ' tcx > (
2561- bare_fn : & hir:: BareFnTy < ' tcx > ,
2561+ bare_fn : & hir:: FnPtrTy < ' tcx > ,
25622562 cx : & mut DocContext < ' tcx > ,
25632563) -> BareFunctionDecl {
25642564 let ( generic_params, decl) = enter_impl_trait ( cx, |cx| {
You can’t perform that action at this time.
0 commit comments