Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QMHTMY/RustBook
/ main
Function
main
code/chapter06/bucket_sort.rs:48–52 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
46
}
47
48
fn main() {
49
let mut nums = [54,32,99,18,75,31,43,56,21,22,1,100];
50
bucket_sort(&mut nums, |t| t / 5);
51
println!(
"sorted nums: {:?}"
, nums);
52
}
Callers
nothing calls this directly
Calls
1
bucket_sort
Function · 0.70
Tested by
no test coverage detected