As a Rust newbie wrapping a C API, I ran into a baffling error for something like wstr.s[0 .. wstr.len], where the s field is an array, and the len field is a u16.
I like static typing with inference, but I'm still getting the hang of the Rust type system. In this case, a little leniency would have been nice.
I like static typing with inference, but I'm still getting the hang of the Rust type system. In this case, a little leniency would have been nice.