logoalt Hacker News

Levitatingyesterday at 11:53 AM1 replyview on HN

The first statement defines a closure. The second is an if-let statement. It's not chaotic, you're just unfamiliar with the syntax.

I actually find the Rust syntax very natural, more than C in some areas.


Replies

johnisgoodyesterday at 1:36 PM

More than C? Highly doubt that.

show 1 reply