[$] Stabilizing Rust's never type

08/09/2026 às 13:34192 visualizzazioni
A function's return type is supposed to indicate the kind of data that it produces. Rust's "never" type, which is denoted by an exclamation mark ("!"), is the type the language uses to mark a function that never returns and other places where a value…
Articolo completo su
LWN.net
Leggi l'articolo completo ↗
⚖️ Vengono ripubblicati solo estratti (fair use).
Questa notizia è stata utile?

Dibattiti 0

Sii il primo a contribuire al dibattito.

Condividi le tue informazioni e promuovi il tuo argomento

Non esitare a pubblicare informazioni o dati che possano essere utili.

Per partecipare al dibattito, accedi o crea un account gratuito.