News for hackers. Stuff that matters.
Re:Rust 1.50 by laszlokorte on Thursday February 11, 2021 @03:53PM (#26107002)
empty parameter list of a closure.

rust: |x| x+x

swift: {x in x+x}

rust: || 42

swift: { 42 }

There are no comments on this comment yet.