Skip to content

Commit 038a7e6

Browse files
committed
Uppercase repr(Rust)
There were two spots where it referred to `repr(rust)` when it is usually referred to as `repr(Rust)` in accordance with `repr(C)`. I updated those to use the uppercase form.
1 parent 0cfd181 commit 038a7e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/other-reprs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ compiler will be able to emit code to avoid an unaligned load.
122122
`repr(packed)` is not to be used lightly. Unless you have extreme requirements,
123123
this should not be used.
124124

125-
This repr is a modifier on `repr(C)` and `repr(rust)`.
125+
This repr is a modifier on `repr(C)` and `repr(Rust)`.
126126

127127

128128

@@ -136,7 +136,7 @@ This enables several tricks, like making sure neighboring elements of an array
136136
never share the same cache line with each other (which may speed up certain
137137
kinds of concurrent code).
138138

139-
This is a modifier on `repr(C)` and `repr(rust)`. It is incompatible with
139+
This is a modifier on `repr(C)` and `repr(Rust)`. It is incompatible with
140140
`repr(packed)`.
141141

142142

0 commit comments

Comments
 (0)