Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
steveklabnik
51 minutes ago
|
parent
|
context
|
favorite
| on:
Rust 1.100
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.
help
afdbcreid
22 minutes 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?
reply
steveklabnik
7 minutes ago
|
parent
[–]
I am speaking about Rust specifically, yes.
reply
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: