MCPcopy Create free account
hub / github.com/QMHTMY/RustBook / main

Function main

publication/code/chapter07/counting_sort.rs:27–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25}
26
27fn main() {
28 let mut nums = [54,32,99,18,75,31,43,56,21,22];
29 counting_sort(&mut nums);
30 println!("sorted nums: {:?}", nums);
31}

Callers

nothing calls this directly

Calls 1

counting_sortFunction · 0.70

Tested by

no test coverage detected