@@ -347,8 +347,11 @@ well as the following additional casts. Here `*T` means either `*const T` or
347
347
| ` *T ` where ` T: Sized ` | Numeric type | Pointer to address cast |
348
348
| Integer type | ` *V ` where ` V: Sized ` | Address to pointer cast |
349
349
| ` &[T; n] ` | ` *const T ` | Array to pointer cast |
350
- | [ Function pointer] ( ../types/function-pointer.md ) | ` *V ` where ` V: Sized ` | Function pointer to pointer cast |
351
- | Function pointer | Integer | Function pointer to address cast |
350
+ | [ Function item] | [ Function pointer] | Function item to function pointer cast |
351
+ | [ Function item] | ` *V ` where ` V: Sized ` | Function item to pointer cast |
352
+ | [ Function item] | Integer | Function item to address cast |
353
+ | [ Function pointer] | ` *V ` where ` V: Sized ` | Function pointer to pointer cast |
354
+ | [ Function pointer] | Integer | Function pointer to address cast |
352
355
| Closure \*\* | Function pointer | Closure to function pointer cast |
353
356
354
357
\* or ` T ` and ` V ` are compatible unsized types, e.g., both slices, both the
@@ -458,6 +461,8 @@ assert_eq!(x, 14);
458
461
[ temporary value ] : ../expressions.md#temporaries
459
462
[ float-float ] : https://github.com/rust-lang/rust/issues/15536
460
463
[ `unit` type ] : ../types/tuple.md
464
+ [ Function pointer ] : ../types/function-pointer.md
465
+ [ Function item ] : ../types/function-item.md
461
466
462
467
[ _BorrowExpression_ ] : #borrow-operators
463
468
[ _DereferenceExpression_ ] : #the-dereference-operator
0 commit comments