From 7c24db334e06eed592dae73d4aeed5ae287536bb Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Mon, 4 Oct 2021 23:46:32 +0200 Subject: Cosmetics --- src/stackStack.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/stackStack.nim') diff --git a/src/stackStack.nim b/src/stackStack.nim index 1bc89c0..d55d5d9 100644 --- a/src/stackStack.nim +++ b/src/stackStack.nim @@ -6,7 +6,7 @@ type head: ref Stack func NewStackStack*(): ref StackStack = - result = new(StackStack) + new(result) result.head = NewStack() result.height = 1 -- cgit v1.2.3