Derive Debug for MemArena.

This commit is contained in:
Nathan Vegdahl 2017-04-09 16:30:16 -07:00
parent 276e3d361b
commit 662f02a78d

View File

@ -19,6 +19,7 @@ fn alignment_offset(addr: usize, alignment: usize) -> usize {
/// size (the large allocation threshold) are given their own block. /// size (the large allocation threshold) are given their own block.
/// ///
/// The block size and large allocation threshold size are configurable. /// The block size and large allocation threshold size are configurable.
#[derive(Debug)]
pub struct MemArena { pub struct MemArena {
blocks: Vec<Vec<u8>>, blocks: Vec<Vec<u8>>,
block_size: usize, block_size: usize,