Skip to content

Commit 64ef976

Browse files
authored
Merge pull request #959 from osa1/pointer_cast_typo
Fix typo in type cast expression table
2 parents 152f877 + 18267fc commit 64ef976

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/expressions/operator-expr.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ well as the following additional casts. Here `*T` means either `*const T` or
343343
| `bool` or `char` | Integer type | Primitive to integer cast |
344344
| `u8` | `char` | `u8` to `char` cast |
345345
| `*T` | `*V` where `V: Sized` \* | Pointer to pointer cast |
346-
| `*T` where `T: Sized` | Numeric type | Pointer to address cast |
346+
| `*T` where `T: Sized` | Integer type | Pointer to address cast |
347347
| Integer type | `*V` where `V: Sized` | Address to pointer cast |
348348
| `&[T; n]` | `*const T` | Array to pointer cast |
349349
| [Function item] | [Function pointer] | Function item to function pointer cast |

0 commit comments

Comments
 (0)