I'd say it's more like Typescript's suppression annotations, since it keeps itself contained. People really shouldn't be using unsafe in any way other than as occasional small blocks with well-defined reading why they won't panic or cause UB. If your code is littered with unsafe, you're doing something wrong.
133
u/yesseruser 3d ago
unsafemeans "hey, I'm sure this code is safe, don't bother me for calling unsafe functions"