shut_up

Crates.ioshut_up
lib.rsshut_up
version0.1.1
sourcesrc
created_at2024-03-15 06:44:27.294051
updated_at2024-03-15 15:18:49.969721
descriptionUse trust_me态shut_up or other keywords replace 'unsafe'. Compiler shut up! Readers shut up too! My code has no bugs, trust me!
homepage
repositoryhttps://github.com/egmsia01/shut_up
max_upload_size
id1174458
size16,825
GMerge (egmsia01)

documentation

README

Shut up! Trust me!

Use some keywords replace unsafe in Rust. Compiler shut up! Readers shut up too! My code has no bugs, trust me!

add the following line to your Cargo.toml:

shut_up = "0.1.1"

You can use the following keywords replace unsafe.

use shut_up::{trust_me, shut_up, cpp_start, i_am_your_father, freestyle,
              i_hereby_declare_that_i_fully_understand_that_any_consequence_is_my_own_liability,
              i_can_do_it, get_approval_from_a_senior_or_you_will_get_fired, showtime};

fn main() {
    trust_me! {
        println!("Trust me! This is safe!");
    }

    shut_up! {
        println!("Shut up! This is safe, tooooo!");
    }

    cpp_start! {
        println!("C++, Start!");
    }

    i_am_your_father! {
        println!("I am your father! This is safe, too!");
    }

    i_hereby_declare_that_i_fully_understand_that_any_consequence_is_my_own_liability! {
        println!("I hereby declare that I fully understand that any consequence is my own liability.")
    }

    i_can_do_it! {
        println!("I can do it!")
    }

    get_approval_from_a_senior_or_you_will_get_fired! {
        println!("Get approval from a senior, or you will get fired!")
    }

    freestyle! {
        println!("Are you freestyle?")
    }

    showtime! {
        println!("show time!")
    }
}
Commit count: 0

cargo fmt