Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
39
fn hot_potato(names: Vec<&str>, num: usize) -> &str {
Callers
3
enqueue
Method · 0.45
dequeue
Method · 0.45
hot_potato
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected