Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Exhaustive match?

Definition 7.5 University Computer Science — Year 2 · Capítulo 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.

Ler no capítulo →