diff options
| author | Thomas Voss <mail@thomasvoss.com> | 2026-03-10 17:35:24 +0100 |
|---|---|---|
| committer | Thomas Voss <mail@thomasvoss.com> | 2026-03-10 17:35:24 +0100 |
| commit | 0ab0c8c697f31bde855b607beaabdd0f3fb8af64 (patch) | |
| tree | 4b97c43033772a8ae6769e5ef6757fff721ae3b7 /oryxc | |
| parent | 71bc8c5b936c84c405f3961ab613ae69868fa50f (diff) | |
Style fix
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 { |