Skip to content

Commit fd8b144

Browse files
udoprogRalfJung
andauthored
Update src/expressions/operator-expr.md
Co-authored-by: Ralf Jung <[email protected]>
1 parent 4b80115 commit fd8b144

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/expressions/operator-expr.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -483,8 +483,8 @@ assert_eq!(values[1], 3);
483483
`*const T` / `*mut T` can be cast to `*const U` / `*mut U` with the following behavior:
484484

485485
- 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.
486+
completes the wide pointer `T` and produces a thin pointer `U` consisting
487+
of the data part of the unsized pointer.
488488
- Otherwise a cast from `T` to `U` produces a value identical to the original
489489
pointer.
490490

0 commit comments

Comments
 (0)