File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2455,7 +2455,7 @@ pub enum TyKind {
24552455 ///
24562456 /// Desugars into `Pin<&'a T>` or `Pin<&'a mut T>`.
24572457 PinnedRef ( Option < Lifetime > , MutTy ) ,
2458- /// A bare function (e.g., `fn(usize) -> bool`).
2458+ /// A function pointer type (e.g., `fn(usize) -> bool`).
24592459 FnPtr ( P < FnPtrTy > ) ,
24602460 /// An unsafe existential lifetime binder (e.g., `unsafe<'a> &'a ()`).
24612461 UnsafeBinder ( P < UnsafeBinderTy > ) ,
Original file line number Diff line number Diff line change @@ -3645,7 +3645,7 @@ pub enum TyKind<'hir, Unambig = ()> {
36453645 Ptr ( MutTy < ' hir > ) ,
36463646 /// A reference (i.e., `&'a T` or `&'a mut T`).
36473647 Ref ( & ' hir Lifetime , MutTy < ' hir > ) ,
3648- /// A bare function (e.g., `fn(usize) -> bool`).
3648+ /// A function pointer (e.g., `fn(usize) -> bool`).
36493649 FnPtr ( & ' hir FnPtrTy < ' hir > ) ,
36503650 /// An unsafe binder type (e.g. `unsafe<'a> Foo<'a>`).
36513651 UnsafeBinder ( & ' hir UnsafeBinderTy < ' hir > ) ,
You can’t perform that action at this time.
0 commit comments