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.
1414
1515Fat pointers are pointers referencing Dynamically Sized Types (also called
1616DSTs). 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.
2020
2121To fix this error, don't try to cast directly between thin and fat pointers.
2222
You can’t perform that action at this time.
0 commit comments