[$] Stabilizing Rust's never type

08/09/2026 às 13:347 بازدید
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
خواندن مقاله کامل ↗
⚖️ تنها گزیده‌ها بازنشر می‌شوند (استفاده منصفانه).
این خبر مفید بود؟

بحث‌ها 0

نخستین مشارکت‌کننده در بحث باشید.

اطلاعات خود را به اشتراک بگذارید و استدلال خود را مطرح کنید

در انتشار اطلاعات یا داده‌های مفید تردید نکنید.

برای شرکت در بحث، وارد شوید یا حساب رایگان بسازید.