๐ Article 6: Building My First Real Rust Function โ first_word() โ and What It Taught Me About Slices
Out of all the exercises Iโve done in Rust so far, the first_word() function was the most eye-opening.
It seems simple:
โGiven a string, return everything before the first space.โ
But while building it, I learned four major Rust concepts at once:
...
verreauxblack.hashnode.dev4 min read