From: kennytm Date: Tue, 22 May 2018 16:26:21 +0000 (+0800) Subject: Rollup merge of #50958 - KiChjang:nit-50697, r=pnkfelix X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=e6495d12b6cbf334827212574e2689f6c7cf268f;p=rust.git Rollup merge of #50958 - KiChjang:nit-50697, r=pnkfelix Micro-optimization on PR#50697 We should stop iterating through the indices in the `init_path_map` once we've already found a match for the local. r? @nikomatsakis or @pnkfelix --- e6495d12b6cbf334827212574e2689f6c7cf268f