Use if-let syntax.
Use #ok_or_else instead of handrolled function.

This is a new function of Option we can use!