
A Vec answers by position. But the Hoarder's ledger answers by name: ask "gold?" and it says "100".
That's a HashMap — keys bound to values:
use std::collections::HashMap;
let mut ledger = HashMap::new();
It lives deeper in the vaults (std::collections), so it needs the use line at the top.
