uint -> usize in readme

This commit is contained in:
Pyfisch 2017-05-13 17:37:46 +02:00 committed by GitHub
parent 851421be5d
commit e519476633
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ then the contents.
However, there are some implementation details to be aware of:
* `isize`/`usize` are encoded as `i64`/`u64`, for portability.
* enums variants are encoded as a `u32` instead of a `uint`.
* enums variants are encoded as a `u32` instead of a `usize`.
`u32` is enough for all practical uses.
* `str` is encoded as `(u64, &[u8])`, where the `u64` is the number of
bytes contained in the encoded string.