mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-02 17:44:28 +00:00
As per T-lang consensus, this uses a branch to handle the dangling case. The discussed optimization of only doing the branch in the T: ?Sized case is left for a followup patch, as doing so is not trivial (as it requires specialization for correctness, not just optimization).