Skip to content

Commit 100ac62

Browse files
authored
[trivial] [spec/expression] Add note about LittleEndian byte order for struct cast examples (#4188)
1 parent 699194f commit 100ac62

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spec/expression.dd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1556,6 +1556,8 @@ $(H4 $(LNAME2 cast_struct, Structs))
15561556
the target type `S`. The data sizes must match.
15571557
* Otherwise, it is an error.
15581558

1559+
$(NOTE The following examples assume a `LittleEndian` byte order.)
1560+
15591561
$(SPEC_RUNNABLE_EXAMPLE_RUN
15601562
---
15611563
struct S

0 commit comments

Comments
 (0)