Rust Humour Collection

Was writing code, when suddenly *a wild newtype appeared*. That spawned this idea for a thread to collect Rust jokes / humour. Here we go:

  1. I used to have a primitive problem, now I have a newtype problem.

    use derive_more::{BitAnd, BitAndAssign, BitOr, BitOrAssign, BitXor, BitXorAssign, Display, From, Not};
    
    /// Whether the object is mirrored.
    #[derive(
        BitAnd,
        BitAndAssign,
        BitOr,
        BitOrAssign,
        BitXor,
        BitXorAssign,
        Clone,
        Copy,
        Debug,
        Default,
        Display,
        From,
        PartialEq,
        Eq,
        Not,
    )]
    pub struct Mirrored(pub bool);
    
3 Likes

Well, there’s this subreddit:
https://www.reddit.com/r/rustjerk/
and i guess the “quote of the week” thread has a nice collection as well:

3 Likes

Wooow. That is golden. There are some serious poetic vibes in this community, I love it :heart_eyes:

The “Genesis of Generic Germination” PR and the Nomicon Intro are also like that and I love them as well :heart:

Btw, https://rust-lang.github.io/rustc-guide/appendix/humorust.html

5 Likes

Don't forget the pull request that removed Hoedown (Markdown parser, written in C) from rust-doc, after a two year battle with regressions:

Wind-up:

Is it really time? Have our months, no, years of suffering come to an end?
Are we finally able to cast off the pall of Hoedown?
The weight which has dragged us down for so long?

And the blow:

The preparations are complete. It is time...

Begone, demon of the foul C!
Your presence is no longer wanted here!
With this strike, I commit you to the depths of history, never to torment our fair land again!

@bors r+

By @QuietMisdreavus

P.S. Bors replied with:

:pushpin: Commit 6661ebb has been approved by QuietMisdreavus

(Emphasis mine, but what a devilish sense of humour our bot has :smiling_imp: )

6 Likes