Skip to content

Commit 179f3ac

Browse files
chorman0773ehuss
andauthored
Apply suggestions from code review
Co-authored-by: Eric Huss <[email protected]>
1 parent a3bd1fd commit 179f3ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/type-layout.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ Trait objects have the same layout as the value the trait object is of.
136136
137137
## Closure Layout
138138

139-
r[kayout.closure]
139+
r[layout.closure]
140140

141141
Closures have no layout guarantees.
142142

@@ -260,7 +260,7 @@ is [zero-variant enums] for which the `C` representation is an error.
260260

261261
r[layout.repr.c.struct]
262262

263-
r[layour.repr.c.struct.align]
263+
r[layout.repr.c.struct.align]
264264
The alignment of the struct is the alignment of the most-aligned field in it.
265265

266266
r[layout.repr.c.struct.size-field-offset]

0 commit comments

Comments
 (0)