From a7da5d4f1734f6e6e5b1be59f13eebbf89cd6b57 Mon Sep 17 00:00:00 2001 From: demotomohiro Date: Thu, 24 Oct 2024 18:47:42 +0900 Subject: [PATCH] Remove unnecessary export mark --- src/littlesugar/staticDeque.nim | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/littlesugar/staticDeque.nim b/src/littlesugar/staticDeque.nim index 05dca97..5bf4481 100644 --- a/src/littlesugar/staticDeque.nim +++ b/src/littlesugar/staticDeque.nim @@ -1,8 +1,5 @@ const MaxBitSize = sizeof(pointer) * 8 - 1 -template minimumSizeUint*(N: static range[1 .. MaxBitSize]): untyped = - # In nim-2.0.2, if this template was not exported, causes compile error. - # It is fix in nim-2.1.1. - # +template minimumSizeUint(N: static range[1 .. MaxBitSize]): untyped = # Although Nim doesn't recommend using uint, StaticDeque use it. # Because wrap around doesn't cause problems in this use case. # And `tail` - `head` returns correct buffer size even if `tail` < `head`.