mirror of
https://github.com/peter-tanner/advent-of-code-2022.git
synced 2024-11-30 14:20:22 +08:00
Peter
dd3ec11462
i learnt more about how memory safety in rust works and why we need to split a vector when mutating it in two locations to ensure they don't conflict. makes a lot of sense to me now. also learnt that tuples can be used in `match`, makes stuff really clean. |
||
---|---|---|
.. | ||
main_pt1.rs | ||
main.rs |