Skip to content

Commit cdf1259

Browse files
RalfJunggnzlbg
andauthored
Apply suggestions from code review
Co-Authored-By: gnzlbg <gnzlbg@users.noreply.github.com>
1 parent 2f61671 commit cdf1259

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

reference/src/layout/structs-and-tuples.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ This can be visualized as follows:
8383
```text
8484
[ <--> [field 3] <-----> [field 1] <-> [ field 2 ] <--> ]
8585
```
86+
**Figure 1** (struct-field layout): The `<-...->` and `[ ... ]` denote the differently-sized gaps and fields, respectively.
87+
8688
Here, the individual fields are blocks of fixed size (determined by the field's
8789
layout). The compiler freely picks an order for the fields to be in (this does
8890
not have to be the order of declaration in the source), and it picks the gaps

0 commit comments

Comments
 (0)