Skip to content

Commit 36af22f

Browse files
committed
Revise editorially
1 parent 53e43ae commit 36af22f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/dynamically-sized-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Such types can only be used in certain cases:
1414
r[dynamic-sized.pointer-types]
1515
* [Pointer types] to <abbr title="dynamically sized types">DSTs</abbr> are
1616
sized but have twice the size of pointers to sized types
17-
* Pointers to slices and `str` also store the number of elements of the slice.
17+
* Pointers to slices and `str` also store the number of elements.
1818
* Pointers to trait objects also store a pointer to a vtable.
1919

2020
r[dynamic-sized.question-sized]

src/type-layout.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,7 @@ Slices have the same layout as the section of the array they slice.
109109
r[layout.str]
110110
## `str` Layout
111111

112-
String slices are a UTF-8 representation of characters that have the same layout as slices of type `[u8]`.
113-
A reference `&str` has the same layout as a reference `&[u8]`.
112+
String slices are a UTF-8 representation of characters that have the same layout as slices of type `[u8]`. A reference `&str` has the same layout as a reference `&[u8]`.
114113

115114
r[layout.tuple]
116115
## Tuple Layout

0 commit comments

Comments
 (0)