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 4b80115 commit fd8b144Copy full SHA for fd8b144
src/expressions/operator-expr.md
@@ -483,8 +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 pointer `U` to the
487
- value of the unsized pointer.
+ completes the wide pointer `T` and produces a thin pointer `U` consisting
+ of the data part 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