Skip to content

Commit 8c55002

Browse files
committed
fixup
1 parent b6d30c5 commit 8c55002

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

reference/src/layout.md

-1
This file was deleted.

reference/src/layout/integers-floatingpoint.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,19 @@ taking on the values 1 (`true`) or 0 (`false`).
2222

2323
## `char`
2424

25-
Rust char is 32-bit wide and represents [Unicode scalar value](http://www.unicode.org/glossary/#unicode_scalar_value).
25+
Rust char is 32-bit wide and represents an [unicode scalar value]. The alignment
26+
of `char` is _implementation-defined_.
27+
28+
[unicode scalar value]: http://www.unicode.org/glossary/#unicode_scalar_value
2629

2730
> **Note**: Rust `char` type is not layout compatible with C / C++ `char` types.
2831
> The C / C++ `char` types correspond to either Rust's `i8` or `u8` types on all
2932
> currently supported platforms, depending on their signedness. Rust does not
3033
> support C platforms in which C `char` is not 8-bit wide.
3134
32-
## `usize`/`isize`
35+
## `isize` and `usize`
3336

34-
The `usize` and `isize` types are pointer-sized signed and unsigned integers.
37+
The `isize` and `usize` types are pointer-sized signed and unsigned integers.
3538
They have the same layout as the [pointer types] for which the pointee is
3639
`Sized`, and are layout compatible with C's `uintptr_t` and `intptr_t` types.
3740

reference/src/optimizations.md

-1
This file was deleted.

0 commit comments

Comments
 (0)