File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ This isn't always the case in Rust.
88Rust supports Dynamically Sized Types (DSTs): types without a statically
99known size or alignment. On the surface, this is a bit nonsensical: Rust * must*
1010know the size and alignment of something in order to correctly work with it! In
11- this regard, DSTs are not normal types. Because they lack a statically known
11+ this regard, DSTs are not normal types. Since they lack a statically known
1212size, these types can only exist behind a pointer. Any pointer to a
1313DST consequently becomes a * wide* pointer consisting of the pointer and the
1414information that "completes" them (more on this below).
@@ -40,7 +40,7 @@ struct MySuperSlice {
4040}
4141```
4242
43- Although such a type is largely useless without a way to construct it. Currently the
43+ Unfortunately, such a type is largely useless without a way to construct it. Currently the
4444only properly supported way to create a custom DST is by making your type generic
4545and performing an * unsizing coercion* :
4646
You can’t perform that action at this time.
0 commit comments