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

Method len

publication/code/chapter04/hot_potato.rs:34–36  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

32 }
33
34 fn len(&self) -> usize {
35 self.data.len()
36 }
37}
38
39fn hot_potato(names: Vec<&str>, num: usize) -> &str {

Callers 3

enqueueMethod · 0.45
dequeueMethod · 0.45
hot_potatoFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected