Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QMHTMY/RustBook
/ main
Function
main
publication/code/chapter07/selection_sort.rs:21–25 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
19
}
20
21
fn main() {
22
let mut nums = vec![54,32,99,18,75,31,43,56,21,22];
23
selection_sort(&mut nums);
24
println!(
"sorted nums: {:?}"
, nums);
25
}
Callers
nothing calls this directly
Calls
1
selection_sort
Function · 0.70
Tested by
no test coverage detected