Backend
[$] Stabilizing Rust's never type
daroc LWN.net
6 views
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 can never occur. For
a long time, the never type was used internally by the compiler, but was
considered an unstable feature. On
August 24, after more than two years of work,
Rust-compiler-contributor "waffle" finally managed to stabilize the type. It
took so long, in part, because it involved a small breaking
change to previous Rust editions, which the compiler maintainers needed to
ensure did not impact much real code.
Read original: https://lwn.net/Articles/1091015/
← Previous
Jellyfin 12.0 released
Next →
Does your coding agent have access to all your environment variables?
Related
Building My Own Technical Interview Practice Repository
Backend
2
DEV Community
Building a Resilient WhatsApp Cloud API Webhook Handler in Node.js
Backend
4
Dev.to (EN Zone)
We Replaced the Entire Secrets Management Stack with Go's Standard Library
Backend
3
Dev.to (EN Zone)
Zero Dependencies Sounds Easy Until You Have to Build Everything Yourself
Backend
6
DEV Community
Comments0
No comments yet — be the first