-
Rust: Cursed hello world
Let’s start of with the simplest approach and work down from there… Well that’s it folks, time to pack-up shop. I’m joking of course, I think this is pretty solid and the maintainers must think so too because this is the file cargo generates when you ask for a new project. The benefits are enumerable,…
-
Rust: The heck is an option<> supposed to mean?
Option is similar to the null of other languages, except it is type safe.You must transform an Option before you can use it.You may see it like this Option<usize> or like this Option<Vec<u32>> or maybe like this std::Option<()>, or some other way – the possibilities are endless. Here’s some examples of how you can use…