diff options
| author | Camelid <camelidcamel@gmail.com> | 2020-09-07 18:48:22 -0700 |
|---|---|---|
| committer | Camelid <camelidcamel@gmail.com> | 2020-09-07 18:48:22 -0700 |
| commit | 98a5506647a2acdea9bfcc7fca93142159867869 (patch) | |
| tree | deab768845ffddbaea96478a8ae3a168dfe35fbb | |
| parent | 1f78509afef6a67d5deea29fc4c43c837b71b13d (diff) | |
| download | rust-98a5506647a2acdea9bfcc7fca93142159867869.tar.gz rust-98a5506647a2acdea9bfcc7fca93142159867869.zip | |
Add "For example,"
| -rw-r--r-- | compiler/rustc_error_codes/src/error_codes/E0607.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/rustc_error_codes/src/error_codes/E0607.md b/compiler/rustc_error_codes/src/error_codes/E0607.md index 1cb493e196d..0545246929f 100644 --- a/compiler/rustc_error_codes/src/error_codes/E0607.md +++ b/compiler/rustc_error_codes/src/error_codes/E0607.md @@ -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. |
