• B
    Don't create adjustments from a type to itself · 6def06c9
    Björn Steinbrink 提交于
    Currently, we're generating adjustments, for example, to get from &[u8]
    to &[u8], which is unneeded and kicks us out of trans_into() into
    trans() which means an additional stack slot and copy in the unoptimized
    code.
    6def06c9
coercion.rs 18.0 KB