Merge pull request #245 from camelid/uppercase-repr-rust

pull/246/head
Yuki Okushi 4 years ago committed by GitHub
commit 9e9ee0a822
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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