]> git.lizzy.rs Git - rust.git/commit
Auto merge of #22193 - pnkfelix:cleanup-pr22012, r=eddyb
authorbors <bors@rust-lang.org>
Thu, 12 Feb 2015 03:53:08 +0000 (03:53 +0000)
committerbors <bors@rust-lang.org>
Thu, 12 Feb 2015 03:53:08 +0000 (03:53 +0000)
commit0fdca30fcb2303966ad2529b7a3b0599088c105d
treef9a1129249bc1a3df4e02840a74aeb0c7e4ddc91
parent3ef8ff1f81107b42840a695725e1a0869c163355
parentf27b3e251cc44464564cc02f7fd5b6d3176204cc
Auto merge of #22193 - pnkfelix:cleanup-pr22012, r=eddyb

PR #22012 followup: clean up vtable::check_object_cast by reusing `fresh_ty`

(hat tip to nikomatsakis, who was the one who pointed out this simplification to the logic.)