nrc / r4cppp

Rust for C++ programmers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`int` is not a valid rust type

tomshackell opened this issue · comments

In destructuring.md you make lots of mention of int. However, this isn't a valid rust primitive type which could be a bit confusing. I suspect you probably meant to use isize.

NOTE: technically it would be possible to make your code correct by a hidden type alias .. but it wouldn't be following the naming conventions.