↳
In-reply-to
»
🦀 I think I’m starting to enjoy writing Rust code. Its typing system is rather explicit/verbose (I like that) and it somewhat tries to make it a bit harder to ignore errors. I think I’ll stick with it this time. 🤔
⤋ Read More
@lyse@lyse.isobeef.org Yeah, no idea. Also: If you want to make use of this feature, you have to omit the final ;
. So a function ending with return 3;
and one ending with just 3
is the same thing, but 3;
is wrong. That’s easy to miss, especially when reading other people’s code. (Funny enough, return 3
works again.)