learning-rust / learning-rust.github.io

Rust Programming Language Tutorials for Everyone!
https://learning-rust.github.io
MIT License
1.48k stars 165 forks source link

Confusing isize/usize description #9

Closed dkm closed 5 years ago

dkm commented 6 years ago

I'm not sure to understand exactly what this means :

Simply this is the data type to cover all unsigned integer types but memory allocates according to the size of a pointer. Min and max values are similar to u64.

I guess these types are similar to C's [s]size_t used for storing objects size (usually 32bits on 32bits platform and 64bits on 64bits platforms).

dumindu commented 6 years ago

wan't fix

dumindu commented 5 years ago

@dkm sorry for misunderstood your above comment, especially because of I have no experience with C. But I got your point now and will add a fix for this. Thanks

dumindu commented 5 years ago

I was mainly worked on new section about error handling past months. Will check this within this month :)

dumindu commented 5 years ago

@dkm Thanks for reporting this issue and so sorry to take a long time to fix this.