If you're trying to write C code in Rust for a few hours you haven't really given it a proper go. You're just fighting the compiler. Believe me, I've been there. It was just the learning curve before I put aside my pride and adjusted how I wrote code.
If you're trying to write C code in Rust for a few hours you haven't really given it a proper go. You're just fighting the compiler. Believe me, I've been there. It was just the learning curve before I put aside my pride and adjusted how I wrote code.