Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
steveklabnik
· 1w ago · 0 comments
Any is not a top type and ! is not a bottom type, actually. They are sort of similar from a lay perspective if you squint, though.
Comments
[–]
afdbcreid
1w ago
Why not? I mean if you refer to Rust specifically, yes, because there is no subtyping except for lifetimes, only coercion (and `Any` also cannot contain any type). But in general, why not?
[–]
steveklabnik
OP
1w ago
I am speaking about Rust specifically, yes.