52
What are some mind blowing Rust tricks?
(programming.dev)
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Credits
Enum constructors are functions, this typechecks:
I was a bit apprehensive because rust has like a gazillion different function types but here it seems to work like just any other language with a HM type system.
Woah. That's quite interesting. I didn't know that.