MCPcopy Create free account
hub / github.com/QMHTMY/RustBook / main

Function main

code/chapter03/hot_potato.rs:60–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

58}
59
60fn main() {
61 let names = vec!["Shieber", "Tom", "Kew", "Lisa", "Marry", "Bob"];
62 let rem = hot_potato(names, 8);
63 println!("The left person is {rem}");
64}

Callers

nothing calls this directly

Calls 1

hot_potatoFunction · 0.70

Tested by

no test coverage detected