Skip to content

Commit 5fc5e71

Browse files
committed
Reword
1 parent 3b1353f commit 5fc5e71

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

reference/src/layout/scalars.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ The `isize` and `usize` types are pointer-sized signed and unsigned integers.
3737
They have the same layout as the [pointer types] for which the pointee is
3838
`Sized`, and are layout compatible with C's `uintptr_t` and `intptr_t` types.
3939

40-
> **Note**: on all platforms that we currently support, `usize`/`isize` are at
41-
> least 16-bit wide. C99
42-
> [7.18.2.4](https://port70.net/~nsz/c/c99/n1256.html#7.18.2.4) requires
43-
> `uintptr_t` and `intptr_t` to be at least 16-bit wide. `libcore` relies on
44-
> this to unconditionally provide impls of `From<i16>`/`From<u16>` for
40+
> **Note**: C99 [7.18.2.4](https://port70.net/~nsz/c/c99/n1256.html#7.18.2.4)
41+
> requires `uintptr_t` and `intptr_t` to be at least 16-bit wide. That is, on
42+
> all platforms that we currently support, which have a C platform,
43+
> `isize`/`usize` are at least 16-bit wide. `libcore` relies on this guarantee
44+
> to unconditionally provide impls of `From<i16>`/`From<u16>` for
4545
> `isize`/`usize`.
4646
4747
> **Note**: Rust's `usize` and C's `unsigned` types are **not** equivalent. C's

0 commit comments

Comments
 (0)