DEV Community

loading...

Discussion on: Rust and Go department directories

Collapse
mark_saward profile image
Mark Saward Author

Thanks for those tips. I was aware that you can return without using the keyword 'return', but old habits kicked in when I wrote this :)

Thinking about it, the explicitness of having the 'return' keyword is something I find nice, to quickly scan a function to easily identify the places it returns.