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. |
||
|---|---|---|
| .. | ||
| cloudabi | ||
| redox | ||
| unix | ||
| wasm | ||
| windows | ||
| mod.rs | ||