summaryrefslogtreecommitdiff
path: root/oryxc/src/arena.rs
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2026-03-10 17:35:24 +0100
committerThomas Voss <mail@thomasvoss.com> 2026-03-10 17:35:24 +0100
commit0ab0c8c697f31bde855b607beaabdd0f3fb8af64 (patch)
tree4b97c43033772a8ae6769e5ef6757fff721ae3b7 /oryxc/src/arena.rs
parent71bc8c5b936c84c405f3961ab613ae69868fa50f (diff)
Style fix
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 {