]> git.lizzy.rs Git - rust.git/commitdiff
Add "For example,"
authorCamelid <camelidcamel@gmail.com>
Tue, 8 Sep 2020 01:48:22 +0000 (18:48 -0700)
committerCamelid <camelidcamel@gmail.com>
Tue, 8 Sep 2020 01:48:22 +0000 (18:48 -0700)
compiler/rustc_error_codes/src/error_codes/E0607.md

index 1cb493e196de36c56e988c4cb663a83a0418fefd..0545246929f489e8a55c878f6d34c4ecf4d16acb 100644 (file)
@@ -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.