On Mon, Sep 9, 2013 at 3:04 AM, Nick Cameron <li...@ncameron.org> wrote:
> Is there somewhere I can look for a description of subtyping in Rust? I
> don't see any mention of it in the manual or tutorial.
>

Rust has 0 subtyping except that: every type is considered a subtype
of `bottom` (which has no syntax, but it's the return type of a
divergent function (one that never returns) such as fail!()), and
every lifetime is considered a sublifetime of `'static`
_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to