there's a certain visual poetry to my badly written code

@lynnesbian

Does this even compile? I would expect a comma somewhere.

@Phosphenes it does! it's rust, so the last expression is the return value of a block. so code like this:

let x = {
let a = 5;
a + 2
}

will set x to 7.

https://play.rust-lang.org/?version=stable&mode=debug&edition=2024&gist=0977198938cebd700e3327880c4f1c77

Rust Playground

A browser interface to the Rust compiler to experiment with the language