Document that isize/usize are at least 16-bit wide on all platforms we currently support #643
Labels
Easy
We believe this would not be difficult to actually fix
Enhancement
Improvement in a non-prose section of the book
See this UCG PR: rust-lang/unsafe-code-guidelines#154
@briansmith raised the issue that this guarantee would be more useful if it was documented elsewhere and they are right. We should document that here, in the
isize
/usize
API docs, and maybe also on the trait impls justified by this observation, like theFrom<u16>
impl forusize
, for example.The text was updated successfully, but these errors were encountered: