summaryrefslogtreecommitdiff
path: root/oryxc/src/arena.rs
diff options
context:
space:
mode:
Diffstat (limited to 'oryxc/src/arena.rs')
-rw-r--r--oryxc/src/arena.rs4
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 {