Commit e6495d1
authored
Rollup merge of rust-lang#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 @pnkfelix1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1853 | 1853 | | |
1854 | 1854 | | |
1855 | 1855 | | |
| 1856 | + | |
1856 | 1857 | | |
1857 | 1858 | | |
1858 | 1859 | | |
| |||
0 commit comments