Skip to content
View TadoTheMiner's full-sized avatar

Block or report TadoTheMiner

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
TadoTheMiner/README.md
Tado's GitHub stats
use std::fmt;

fn main() {
    let tado = Rustacean{name: "Tatesa", pronouns: &Pronouns::TheyThem, capitalise_pronouns: true, distro: "NixOS"};
    println!("{tado}");
}

#[allow(dead_code)]
struct Rustacean<'a> {
    name: &'a str,
    pronouns: &'a Pronouns<'a>,
    capitalise_pronouns: bool,
    distro: &'a str,
}

#[allow(dead_code)]
enum Pronouns<'a> {
    HeHim,
    SheHer,
    TheyThem,
    ItIts,
    Other(&'a str),
}

impl fmt::Display for Rustacean<'_> {
    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
        write!(f, "Hi! I am {}, and use {} BTW!", self.name, self.distro)
    }
}

Pinned Loading

  1. nixos-dotfiles nixos-dotfiles Public

    my nixos configuration

    Nushell

  2. ratatui/ratatui ratatui/ratatui Public

    A Rust crate for cooking up terminal user interfaces (TUIs) 👨‍🍳🐀 https://ratatui.rs

    Rust 11.4k 352