π 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