loading...

re: Challenge - Print Spiral VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Yes, final statement is returned. Actually, almost anything with a block in Rust yields a final block statement as a value, so it's possible, for e...

That's quite common in functional programming, btw. When I read about Rust in early 2016, the most impressive and likeable idea was borrowing. And, of course, pattern matching. I like to see some Rust here.

Code of Conduct Report abuse