Generation

generate functionSun, 13 Nov 2022

Eat a cookie

fn eat_cookie(eat: bool) { if eat { println!("Yum :)"); } else { println!("NOM NOM NOM"); } }

Questions about programming?Chat with your personal AI assistant