butt(1): code golfed
This commit is contained in:
parent
a01da5ca34
commit
d111500921
@ -16,12 +16,10 @@ fn main() {
|
|||||||
println!("How big is your butt?");
|
println!("How big is your butt?");
|
||||||
stdin().read_line(&mut buf).unwrap();
|
stdin().read_line(&mut buf).unwrap();
|
||||||
|
|
||||||
let size = buf.trim().parse::<u8>().unwrap_or_else(|e| {
|
println!("{}", match buf.trim().parse::<u8>().unwrap_or_else(|_| {
|
||||||
eprintln!("Your butt can’t be {}!", buf.trim());
|
eprintln!("Your butt can’t be {}!", buf.trim());
|
||||||
exit(1);
|
exit(1);
|
||||||
});
|
}) {
|
||||||
|
|
||||||
println!("{}", match size {
|
|
||||||
0 | 1 | 2 => "Your butt is small Im not gonna smack it ",
|
0 | 1 | 2 => "Your butt is small Im not gonna smack it ",
|
||||||
3 => "Your butt is decently sized, if im super horny ill smack and maybe lick it",
|
3 => "Your butt is decently sized, if im super horny ill smack and maybe lick it",
|
||||||
4 => "Your butt is pretty big there, Why don't you come down and ill show it a good time!",
|
4 => "Your butt is pretty big there, Why don't you come down and ill show it a good time!",
|
||||||
|
Loading…
Reference in New Issue
Block a user