Skip to content

Latest commit

 

History

History

05-rust

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Day 5: Rust

Previous Experiences

I'd say I have pretty good experience with Rust through a lot of different small-ish projects.

Notes

Doing this with Rust was pretty fun, although it was of course a lot more verbose than Python yesterday.

The syntax for updating a single element in Vecs is kind of weird though:

let test = vec![0; 3];
let ele = test.get_mut(1).unwrap();
*ele = 123;