mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-17 05:25:37 +03:00
fc6c08e799
read2: Use inner function instead of closure Very minor thing, but there doesn't appear to be a reason to use a closure here. Generated code is identical in my tests, but I believe it's clearer that nothing from the environment is being used.