Add "For example,"
This commit is contained in:
parent
1f78509afe
commit
98a5506647
@ -14,9 +14,9 @@ address.
|
||||
|
||||
Fat pointers are pointers referencing Dynamically Sized Types (also called
|
||||
DSTs). DSTs don't have a statically known size, therefore they can only exist
|
||||
behind some kind of pointer that contains additional information. Slices and
|
||||
trait objects are DSTs. In the case of slices, the additional information the
|
||||
fat pointer holds is their size.
|
||||
behind some kind of pointer that contains additional information. For example,
|
||||
slices and trait objects are DSTs. In the case of slices, the additional
|
||||
information the fat pointer holds is their size.
|
||||
|
||||
To fix this error, don't try to cast directly between thin and fat pointers.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user