From: Camelid Date: Tue, 8 Sep 2020 01:48:22 +0000 (-0700) Subject: Add "For example," X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=98a5506647a2acdea9bfcc7fca93142159867869;p=rust.git Add "For example," --- 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.