📝 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