A match is exhaustive if every value of the matched type matches at least one of its patterns, guards not counted. Rust accepts only exhaustive matches.
Computer Science · Glossaire
Computer Science · Glossaire
A match is exhaustive if every value of the matched type matches at least one of its patterns, guards not counted. Rust accepts only exhaustive matches.