[PATCH] Fix off-by-one error in `DroplessArena::alloc_raw`.
authorNicholas Nethercote <nnethercote@mozilla.com>
Thu, 21 May 2020 00:36:32 +0000 (10:36 +1000)
committerXimin Luo <infinity0@debian.org>
Thu, 6 Aug 2020 20:11:39 +0000 (21:11 +0100)
commit988f4b013b44c33fce9225e6e4fd5fa00c1fa48e
tree89b3b06d27a478df3cea662198cdcf12ade51af8
parent449042ebdb96f4f0e8fb159f4222e20d9b22c0de
[PATCH] Fix off-by-one error in `DroplessArena::alloc_raw`.

This causes unnecessary calls to `grow` when the allocation would fit
exactly in the remaining space.

Gbp-Pq: Name u-5ceff6b96af9a21e044545b9e064433feccaf659.patch
src/libarena/lib.rs