I guess API-wise the difference between a HashMap and a Vec is whether you provide the key, or the key is generated for you. // HashMap fn insert(&mut self, val) -> key; // Vector fn insert(&mut self, index, val); The vec::push method is just a common shorthand
-
-
Ah no I'm entirely wrong. Ahaha; just arrived back home and ooph I didn't get enough sleep.
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.