Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « Exhaustive match » ?

Definition 7.5 University Computer Science — Year 2 · Chapitre 7 — Enums, Pattern Matching and Error Handling

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.

Lire dans le chapitre →