diff options
| author | bors <bors@rust-lang.org> | 2015-07-31 17:55:22 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-07-31 17:55:22 +0000 |
| commit | 89bc9fa8beecaaada1c38f69d0adce811da75287 (patch) | |
| tree | a83ed7e7842981d4a73657132415a0d8a0df8de9 /src | |
| parent | 0919f4ad862bc3ae771fc56a8fe9905bca299fe2 (diff) | |
| parent | b36890b06957dcd2f3a27548f53394d395818eec (diff) | |
| download | rust-89bc9fa8beecaaada1c38f69d0adce811da75287.tar.gz rust-89bc9fa8beecaaada1c38f69d0adce811da75287.zip | |
Auto merge of #27418 - taliesinb:tarpl-typo, r=alexcrichton
this makes the second code block consistent with the first code block -- other than being in reversed order, the first code block claims b is u16 and c is u32, whereas the second code block claims the opposite. seems to be an obvious typo.
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/tarpl/repr-rust.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/tarpl/repr-rust.md b/src/doc/tarpl/repr-rust.md index 9073495c517..c8a372be767 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, } ``` |
