Helps stuff like returning Result<T, Never> in generic APIs. Like the FromStr impl on String
*Void could also just be assumed to be null, since that is its only valid value.
-
-
No, raw pointers are conceptually just integers with a phantom type parameter, all values are valid.
-
I mean when you dereference one, the compiler can just assume it's NULL, so UB, so deref should be statically rejected.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.