Skip to content

Commit

Permalink
Merge pull request #959 from osa1/pointer_cast_typo
Browse files Browse the repository at this point in the history
Fix typo in type cast expression table
  • Loading branch information
ehuss authored Feb 4, 2021
2 parents 152f877 + 18267fc commit 64ef976
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/expressions/operator-expr.md
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ well as the following additional casts. Here `*T` means either `*const T` or
| `bool` or `char` | Integer type | Primitive to integer cast |
| `u8` | `char` | `u8` to `char` cast |
| `*T` | `*V` where `V: Sized` \* | Pointer to pointer cast |
| `*T` where `T: Sized` | Numeric type | Pointer to address cast |
| `*T` where `T: Sized` | Integer type | Pointer to address cast |
| Integer type | `*V` where `V: Sized` | Address to pointer cast |
| `&[T; n]` | `*const T` | Array to pointer cast |
| [Function item] | [Function pointer] | Function item to function pointer cast |
Expand Down

0 comments on commit 64ef976

Please sign in to comment.