Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QMHTMY/RustBook
/ get_first
Method
get_first
publication/code/chapter09/dfs.rs:42–44 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
40
}
41
42
fn get_first(&self) -> Link {
43
self.first.clone()
44
}
45
46
fn insert(&mut self, data: usize) {
47
let node = Rc::new(RefCell::new(Node::new(data)));
Callers
1
dfs
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected