3 ms·
I guess a Rust wat would be fn get_x() -> i32 { return return return return return return return return return 1; }
by kzrdude 4y ago
I guess a Rust wat would be
fn get_x() -> i32 {
return return return return return return return return return 1;
}
- scoopr 4y agoSome fun ones at https://github.com/rust-lang/rust/blob/master/tests/ui/weird-exprs.rs https://github.com/rust-lang/rust/blob/master/tests/ui/weird...
- kzrdude 4y agoclosure_matching: wat! I figure out that "|_| Some(2) =>" in a match arm is just a disguise for the alternation "_ | Some(2)" with prefix separator, but what does the `let` do there?