benjamn.github.io

Personal GitHub website for @benjamn.1

graph TD;
    A-->B;
    A-->C;
    B-->D;
    C-->D;

Some Rust code to test syntax highlighting:

enum Message {
    Quit,
    Move { x: i32, y: i32 },
    Write(String),
    ChangeColor(i32, i32, i32),
}

fn main() {
    let msg = Message::ChangeColor(0, 160, 255);

    match msg {
        Message::Quit => {
            println!("The Quit variant has no data to destructure.");
        }
    }
}
  1. Also known as Ben Newman.