Open evanlinjin opened 7 months ago
90% of the time you will just .unwrap_or(0)
on the values so I came to the conclusion that in this case it's better just to let 0 signify None
. I could be convinced otherwise but the comment doesn't weigh putting it in an Option
that against the cost of matching or copious .unwrap_or(0)
.
Relevant Context: