Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QMHTMY/RustBook
/ main
Function
main
code/chapter03/divide_by_two.rs:52–55 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
50
}
51
52
fn main() {
53
let bin_str: String = divide_by_two(10);
54
println!(
"10 is b{bin_str}"
);
55
}
Callers
nothing calls this directly
Calls
1
divide_by_two
Function · 0.85
Tested by
no test coverage detected