diff options
Diffstat (limited to 'oryxc')
| -rw-r--r-- | oryxc/src/arena.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/oryxc/src/arena.rs b/oryxc/src/arena.rs index cbbf485..cff65a3 100644 --- a/oryxc/src/arena.rs +++ b/oryxc/src/arena.rs @@ -31,10 +31,10 @@ pub struct GlobalArena { impl GlobalArena { pub fn new(blksz: usize) -> Self { - Self { + return Self { blksz, blocks: Mutex::new(Vec::new()), - } + }; } fn allocate_block(&self, layout: Layout) -> RawBlock { |