We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2288f13 commit 4b80115Copy full SHA for 4b80115
src/expressions/operator-expr.md
@@ -483,7 +483,8 @@ assert_eq!(values[1], 3);
483
`*const T` / `*mut T` can be cast to `*const U` / `*mut U` with the following behavior:
484
485
- If `T` is unsized and `U` is sized, the cast discards all metadata that
486
- completes the wide pointer `T` and produces a thin base pointer `U`.
+ completes the wide pointer `T` and produces a thin pointer `U` to the
487
+ value of the unsized pointer.
488
- Otherwise a cast from `T` to `U` produces a value identical to the original
489
pointer.
490
0 commit comments