Function fizzbuzz::main

source ·
pub(crate) fn main()
Expand description

Rust FizzBuzz in 125 chars

This is hideous. Normally we would never want or need such minified code, except in the silly competition known as “Code Golf”.

Rust apparently allows for removing whitespace from code, to minify it in a similar way as JavaScript, another language sometimes similar to BrainFuck which allows us to write hideously minified code.

Running rustfmt on this suffers the whitespace penalty, but does make it more readable.