you are viewing a single comment's thread
view the rest of the comments
[–] 7 points 8 months ago

I like to use unwrap_or() to define fallback values. The Option API is quite expressive.

  • source
  • parent