File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
compiler/rustc_error_codes/src/error_codes Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,9 +14,9 @@ address.
14
14
15
15
Fat pointers are pointers referencing Dynamically Sized Types (also called
16
16
DSTs). DSTs don't have a statically known size, therefore they can only exist
17
- behind some kind of pointer that contains additional information. Slices and
18
- trait objects are DSTs. In the case of slices, the additional information the
19
- fat pointer holds is their size.
17
+ behind some kind of pointer that contains additional information. For example,
18
+ slices and trait objects are DSTs. In the case of slices, the additional
19
+ information the fat pointer holds is their size.
20
20
21
21
To fix this error, don't try to cast directly between thin and fat pointers.
22
22
You can’t perform that action at this time.
0 commit comments