about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTaliesin Beynon <taliesinb@wolfram.com>2015-07-30 23:16:56 -0400
committerTaliesin Beynon <taliesinb@wolfram.com>2015-07-30 23:18:09 -0400
commitb36890b06957dcd2f3a27548f53394d395818eec (patch)
tree7cc84a74199ce304b4fafa84bf655d9a5854592d
parentdc966ef95cf9c428b29e1346e54768f7411466c8 (diff)
downloadrust-b36890b06957dcd2f3a27548f53394d395818eec.tar.gz
rust-b36890b06957dcd2f3a27548f53394d395818eec.zip
fix switched-round 'b' and 'c'
-rw-r--r--src/doc/tarpl/repr-rust.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/tarpl/repr-rust.md b/src/doc/tarpl/repr-rust.md
index 639d64adc18..f9e811298de 100644
--- a/src/doc/tarpl/repr-rust.md
+++ b/src/doc/tarpl/repr-rust.md
@@ -31,8 +31,8 @@ type's size is a multiple of its alignment. For instance:
 ```rust
 struct A {
     a: u8,
-    c: u32,
-    b: u16,
+    b: u32,
+    c: u16,
 }
 ```