2 ms·
The only sub typing in Rust is lifetimes; other types have no sub typing. Traits are “ad hoc polymorphism”.
by steveklabnik 9y ago
The only sub typing in Rust is lifetimes; other types have no sub typing.
Traits are “ad hoc polymorphism”.
2 ms·