[][src]Function show_notes::e003::demonstrate_result

pub fn demonstrate_result()

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.