From 038a7e6238e360a1ac80e56886ca7d37f2081389 Mon Sep 17 00:00:00 2001 From: Camelid Date: Sun, 1 Nov 2020 16:49:06 -0800 Subject: [PATCH] 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. --- src/other-reprs.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/other-reprs.md b/src/other-reprs.md index 6212b6c..a7cc675 100644 --- a/src/other-reprs.md +++ b/src/other-reprs.md @@ -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, 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 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)`.