Skip to content

Commit

Permalink
Remove unnecessary export mark
Browse files Browse the repository at this point in the history
  • Loading branch information
demotomohiro committed Oct 24, 2024
1 parent ceee18b commit a7da5d4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/littlesugar/staticDeque.nim
Original file line number Diff line number Diff line change
@@ -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`.
Expand Down

0 comments on commit a7da5d4

Please sign in to comment.