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 · Glosarium
Computer Science · Glosarium
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.