prefer one-shot init with iters, no mut
commit638b882404fece8fe5629a64504314b70c3b6e32
authorShayne Fletcher <shaynefletcher@fb.com>
Tue, 15 Feb 2022 18:27:08 +0000 (15 10:27 -0800)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Tue, 15 Feb 2022 18:28:42 +0000 (15 10:28 -0800)
treede51177fae5c87e5b26cc1572bcc8173aa56fc59
parent8768c493d4982c719a131240328a86e6fdbe9e91
prefer one-shot init with iters, no mut

Summary:
rewrite this idiom

{F701401771}

with iterators avoiding the need for any explicit `Vec` or use of `mut`

Differential Revision: D34245502

fbshipit-source-id: 579dccf1e8474905cadfea508210c33ed5e1ae7e
hphp/hack/src/rupro/lib/folded_decl_provider/subst.rs