Monday, October 17, 2022

Rust pop-... answer: asset allocations


Yes. 😅 


The big stumbling block for me was

let mut assets = HashSet::new();

requires `&mut`-referencing, not just `&`-referencing.

m'kay. 🙄  

This solution depends heavily on my Asset-type.

No comments:

Post a Comment