100 Days of Rust : Day 3
Today I finished Functions
and Control Flow
etc.
While these are not new “concepts” for me, one always learns something new when learning a new language.
Two things I learnt:
- I liked the fact that rust does not evaluate anything other than boolean
as
truthy
like both python and ruby - loop can have labels, and can be used with
break
andcontinue
to indicate where should the execution continue