butt(1): removed use statements
This commit is contained in:
parent
7d450a6811
commit
863bbbfe47
15
fun/butt.rs
15
fun/butt.rs
@ -5,25 +5,20 @@
|
|||||||
|
|
||||||
// https://www.reddit.com/r/learnpython/comments/17pkw1h/why_wont_my_code_run/
|
// https://www.reddit.com/r/learnpython/comments/17pkw1h/why_wont_my_code_run/
|
||||||
|
|
||||||
use std::{
|
|
||||||
io::stdin,
|
|
||||||
process::exit,
|
|
||||||
};
|
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
let mut buf = String::new();
|
let mut buf = String::new();
|
||||||
|
|
||||||
println!("How big is your butt?");
|
println!("How big is your butt?");
|
||||||
let _ = stdin().read_line(&mut buf);
|
let _ = std::io::stdin().read_line(&mut buf);
|
||||||
|
|
||||||
println!("{}", match buf.trim().parse::<u8>() {
|
println!("{}", match buf.trim().parse::<u8>() {
|
||||||
|
Err(_) => {
|
||||||
|
eprintln!("Your butt can’t be {}!", buf.trim());
|
||||||
|
std::process::exit(1);
|
||||||
|
}
|
||||||
Ok(0..=2) => "Your butt is small Im not gonna smack it ",
|
Ok(0..=2) => "Your butt is small Im not gonna smack it ",
|
||||||
Ok(3) => "Your butt is decently sized, if im super horny ill smack and maybe lick it",
|
Ok(3) => "Your butt is decently sized, if im super horny ill smack and maybe lick it",
|
||||||
Ok(4) => "Your butt is pretty big there, Why don't you come down and ill show it a good time!",
|
Ok(4) => "Your butt is pretty big there, Why don't you come down and ill show it a good time!",
|
||||||
Err(_) => {
|
|
||||||
eprintln!("Your butt can’t be {}!", buf.trim());
|
|
||||||
exit(1);
|
|
||||||
}
|
|
||||||
_ => "WOW Your butt is pretty big! you better pull your pants down RIGHT NOW so i can lick it clean",
|
_ => "WOW Your butt is pretty big! you better pull your pants down RIGHT NOW so i can lick it clean",
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user