3 ms·
> Do I need a &mut Option<Thing>, or an Option<&mut Thing>? Follow up to this example: let's say that I don't know the answer, what do I search for if I want t
by jstx1 3y ago
> Do I need a &mut Option<Thing>, or an Option<&mut Thing>?
Follow up to this example: let's say that I don't know the answer, what do I search for if I want to find out?
- adastra22 3y agoMan, I don’t even know. It’s ungoogleable. The only thing that keeps this from being as big an issue as it ought to be is that rustc’s error output is really, really good. Usually it tells you how to fix it.