Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QMHTMY/RustBook
/ main
Function
main
publication/code/chapter05/hanoi.rs:12–17 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
10
}
11
12
fn main() {
13
hanoi(1,
"A"
,
"B"
,
"C"
);
14
hanoi(2,
"A"
,
"B"
,
"C"
);
15
hanoi(3,
"A"
,
"B"
,
"C"
);
16
hanoi(4,
"A"
,
"B"
,
"C"
);
17
}
Callers
nothing calls this directly
Calls
1
hanoi
Function · 0.85
Tested by
no test coverage detected