about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-05-16 23:22:52 +0800
committerkennytm <kennytm@gmail.com>2018-05-17 05:18:06 +0800
commitfc6c08e799e1dc7fcfe1484b356da0ee7c16523d (patch)
tree918c00338d20082d53b25cfa8f3600d2a6e32e6c /src/rustllvm/RustWrapper.cpp
parent5074a7e13012a7c9ab2c0d2a29a84c141fb1e5a2 (diff)
parent56f505e6c650106cb2328145f8f51ff4c9459124 (diff)
downloadrust-fc6c08e799e1dc7fcfe1484b356da0ee7c16523d.tar.gz
rust-fc6c08e799e1dc7fcfe1484b356da0ee7c16523d.zip
Rollup merge of #50726 - udoprog:read2-inner-fn, r=alexcrichton
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.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions