Function show_notes::e003::demonstrate_result
source ยท pub fn demonstrate_result()
Expand description
Shows how a Result
type works in practice.
A Result
is an enum
(which can be converted to the Option
type), which
lets us hand back, and then handle, the results of a given function easily.