← Back to context

Comment by saghm

16 hours ago

Ah, you're right, I definitely misread that the first time. I think the only thing that Rust probably was directly inspired by Ruby on was the syntax for closures (which is not exactly the same, but when the closure uses a block rather than returning an expression directly it's similar, and I vaguely recall seeing something about that being intentional).