about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2016-12-20 11:16:39 -0800
committerAlex Crichton <alex@alexcrichton.com>2016-12-20 12:59:06 -0800
commita8e7f9530a623ea7ca37c556c2822ae8c3bfa339 (patch)
treec4ddec6202f9ddc84e9e37103d6edd82545dbb76 /src/test/incremental/thinlto
parent21f33dbf7166beb1ce94c349228035b618de8dbe (diff)
parent18ff6410d8c196537fc64a10d9d5b502308eb6fa (diff)
downloadrust-a8e7f9530a623ea7ca37c556c2822ae8c3bfa339.tar.gz
rust-a8e7f9530a623ea7ca37c556c2822ae8c3bfa339.zip
Rollup merge of #38432 - stjepang:fix-sort-comment, r=bluss
Minor fix in the merge_sort comments

There was an off-by-one error discovered by @tbelaire.
So, to repeat... the two invariants we are enforcing are:

1. Run lengths are decreasing.
2. Sum of lengths of any two adjacent runs is less than the length of
their predecessor.

This commit changes the relevant comment to be clearer and have correct bounds on `i`.

r? @bluss
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions