A first pass at using rust, an implementation of select sort algorithm…
A few things learned in this excercise:
-
Need to use mut ahead of variable declaration as default is for immutable declaration.
-
Type check used at compile time, as a lot of errors were a result of mismatched types.
-
Feels like I just translated an implementation done in C, thus would be interested in seeing what a veteran rustecean implementation would look like.