[Media] I’ve been learning Rust, so I’ve been converting my professor’s C code into Rust after class. How did I do today?

417 points Shock9616
[Media] I’ve been learning Rust, so I’ve been converting my professor’s C code into Rust after class. How did I do today?

I changed the print_array function to format it like the rust vector debug output, but otherwise this is the code from our lecture on pointers