about summary refs log tree commit diff
path: root/src/libstd/sys/unix/process/process_unix.rs
diff options
context:
space:
mode:
authorStjepan Glavina <stjepang@gmail.com>2017-02-04 18:04:26 +0100
committerStjepan Glavina <stjepang@gmail.com>2017-02-04 18:04:26 +0100
commitfa457bff264ea62acf56bb9e645b8227ecdc7529 (patch)
tree0136bc2c1774372f40ea6cd2fb426ebe85180035 /src/libstd/sys/unix/process/process_unix.rs
parenta884a6c60d3ec2338d7dfed9998a7aa96e10260e (diff)
downloadrust-fa457bff264ea62acf56bb9e645b8227ecdc7529.tar.gz
rust-fa457bff264ea62acf56bb9e645b8227ecdc7529.zip
Minor fix in the *_expensive benchmark
Before, the `count` would be copied into the closure and could
potentially be optimized way. This change ensures it's borrowed by
closure and finally consumed by `test::black_box`.
Diffstat (limited to 'src/libstd/sys/unix/process/process_unix.rs')
0 files changed, 0 insertions, 0 deletions