MCPcopy Create free account
hub / github.com/CleanCut/ultimate_rust2 / main

Function main

example/kitchen/src/main.rs:32–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30}
31
32fn main() {
33 env_logger::init();
34 let handle = thread::spawn(|| dad::cook_spaghetti());
35
36 mom::cook_sauce_and_set_table();
37
38 if handle.join().unwrap_or(false) {
39 info!("Spaghetti time! Yum!")
40 } else {
41 error!("Dad messed up the spaghetti. Order pizza instead?");
42 }
43}

Callers

nothing calls this directly

Calls 2

cook_spaghettiFunction · 0.85
cook_sauce_and_set_tableFunction · 0.85

Tested by

no test coverage detected