We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28673da commit 8128316Copy full SHA for 8128316
reference/src/layout/scalars.md
@@ -69,7 +69,11 @@ range of values that the pointer-holding integer types must support:
69
* `intptr_t`: `[INTPTR_MIN, INTPTR_MAX] = [-(2^15 - 1), 2^15 - 1]`
70
* `uintptr_t`: `[0, UINTPTR_MAX] = [0, 2^16 - 1]`
71
72
-That is, `isize`/`usize` are at least 16-bit wide.
+That is, `isize`/`usize` are at least 16-bit wide. `libcore` relies on
73
+this guarantee and unconditionally provides:
74
+
75
+* `impl From<i16> for isize`,
76
+* `impl From<u16> for usize`.
77
78
</details>
79
0 commit comments