Hacker News new | ask | show | jobs
by meltyness 451 days ago
As I revisit, this also comes up more explicitly when dealing with lifetimes as a type, and stacked borrows.

[0] https://doc.rust-lang.org/nomicon/subtyping.html

1 comments

Lifetimes are the only subtyping relationship in Rust, yes.