]> git.lizzy.rs Git - rust.git/commit
Fix the new capacity measurement in arenas.
authorNicholas Nethercote <nnethercote@mozilla.com>
Mon, 4 May 2020 07:17:07 +0000 (17:17 +1000)
committerNicholas Nethercote <nnethercote@mozilla.com>
Wed, 13 May 2020 01:29:16 +0000 (11:29 +1000)
commit9111d8b66e013a881bae4e09646514be86ca4c87
tree98ddc755bde9d771bfc1874613b98b96b636a79f
parent99cb9ccb9ca2067ad6e60508e3d52da77396b2f1
Fix the new capacity measurement in arenas.

For the given code paths, the amount of space used in the previous chunk
is irrelevant.

(This will almost never make a difference to behaviour, but it makes the
code clearer.)
src/libarena/lib.rs