mcandre / unmake

a makefile linter
Other
83 stars 3 forks source link

promote lambda outside of for loop #192

Closed mcandre closed 1 year ago

mcandre commented 1 year ago

For performance.

Haven't found the right Rust syntax for this yet.

May need to bind to a separate lambda variable in the loop.

mcandre commented 1 year ago

We incidentally resolved this earlier. Mutable Rust variables are incidentally references.