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.
pull/245/head
Camelid 4 years ago
parent 0cfd181886
commit 038a7e6238

@ -122,7 +122,7 @@ compiler will be able to emit code to avoid an unaligned load.
`repr(packed)` is not to be used lightly. Unless you have extreme requirements, `repr(packed)` is not to be used lightly. Unless you have extreme requirements,
this should not be used. this should not be used.
This repr is a modifier on `repr(C)` and `repr(rust)`. This repr is a modifier on `repr(C)` and `repr(Rust)`.
@ -136,7 +136,7 @@ This enables several tricks, like making sure neighboring elements of an array
never share the same cache line with each other (which may speed up certain never share the same cache line with each other (which may speed up certain
kinds of concurrent code). kinds of concurrent code).
This is a modifier on `repr(C)` and `repr(rust)`. It is incompatible with This is a modifier on `repr(C)` and `repr(Rust)`. It is incompatible with
`repr(packed)`. `repr(packed)`.

Loading…
Cancel
Save