Skip to content

Commit 98a5506

Browse files
committed
Add "For example,"
1 parent 1f78509 commit 98a5506

File tree

1 file changed

+3
-3
lines changed
  • compiler/rustc_error_codes/src/error_codes

1 file changed

+3
-3
lines changed

compiler/rustc_error_codes/src/error_codes/E0607.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ address.
1414

1515
Fat pointers are pointers referencing Dynamically Sized Types (also called
1616
DSTs). 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

2121
To fix this error, don't try to cast directly between thin and fat pointers.
2222

0 commit comments

Comments
 (0)