mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-29 11:51:31 +03:00
6bc772cdc0
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).