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 {
2455
2455
///
2456
2456
/// Desugars into `Pin<&'a T>` or `Pin<&'a mut T>`.
2457
2457
PinnedRef ( Option < Lifetime > , MutTy ) ,
2458
- /// A bare function (e.g., `fn(usize) -> bool`).
2458
+ /// A function pointer type (e.g., `fn(usize) -> bool`).
2459
2459
FnPtr ( P < FnPtrTy > ) ,
2460
2460
/// An unsafe existential lifetime binder (e.g., `unsafe<'a> &'a ()`).
2461
2461
UnsafeBinder ( P < UnsafeBinderTy > ) ,
Original file line number Diff line number Diff line change @@ -3645,7 +3645,7 @@ pub enum TyKind<'hir, Unambig = ()> {
3645
3645
Ptr ( MutTy < ' hir > ) ,
3646
3646
/// A reference (i.e., `&'a T` or `&'a mut T`).
3647
3647
Ref ( & ' hir Lifetime , MutTy < ' hir > ) ,
3648
- /// A bare function (e.g., `fn(usize) -> bool`).
3648
+ /// A function pointer (e.g., `fn(usize) -> bool`).
3649
3649
FnPtr ( & ' hir FnPtrTy < ' hir > ) ,
3650
3650
/// An unsafe binder type (e.g. `unsafe<'a> Foo<'a>`).
3651
3651
UnsafeBinder ( & ' hir UnsafeBinderTy < ' hir > ) ,
You can’t perform that action at this time.
0 commit comments