[$] Stabilizing Rust's never type

08/09/2026 às 13:344 مشاہدات
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…
مکمل مضمون
LWN.net
مکمل مضمون پڑھیں
⚖️ Apenas excertos são republicados (fair use / uso justo — Höfundalög nº 73/1972 art. 14 · Berne art. 10).
کیا یہ خبر مفید تھی؟

تبصرے 0

Seja o primeiro a contribuir com o debate.

Difunda suas informações e promova seu argumento

مفید معلومات شیئر کرنے میں ہچکچاہٹ نہ کریں۔

بحث میں حصہ لینے کے لیے، لاگ ان کریں یا مفت اکاؤنٹ بنائیں۔