Fix word wrapping
This commit is contained in:
parent
e6d5379b3b
commit
3ad48069d3
18 changed files with 146 additions and 125 deletions
|
|
@ -99,8 +99,8 @@ proc init*[A](s: var HashSet[A], initialSize = defaultInitialSize) =
|
|||
##
|
||||
## The `initialSize` parameter needs to be a power of two (default: 64).
|
||||
## If you need to accept runtime values for this, you can use
|
||||
## `math.nextPowerOfTwo proc <math.html#nextPowerOfTwo,int>`_ or `rightSize proc
|
||||
## <#rightSize,Natural>`_ from this module.
|
||||
## `math.nextPowerOfTwo proc <math.html#nextPowerOfTwo,int>`_ or
|
||||
## `rightSize proc <#rightSize,Natural>`_ from this module.
|
||||
##
|
||||
## Starting from Nim v0.20, sets are initialized by default and it is
|
||||
## not necessary to call this function explicitly.
|
||||
|
|
@ -645,8 +645,8 @@ proc init*[A](s: var OrderedSet[A], initialSize = defaultInitialSize) =
|
|||
##
|
||||
## The `initialSize` parameter needs to be a power of two (default: 64).
|
||||
## If you need to accept runtime values for this, you can use
|
||||
## `math.nextPowerOfTwo proc <math.html#nextPowerOfTwo,int>`_ or `rightSize proc
|
||||
## <#rightSize,Natural>`_ from this module.
|
||||
## `math.nextPowerOfTwo proc <math.html#nextPowerOfTwo,int>`_ or
|
||||
## `rightSize proc <#rightSize,Natural>`_ from this module.
|
||||
##
|
||||
## Starting from Nim v0.20, sets are initialized by default and it is
|
||||
## not necessary to call this function explicitly.
|
||||
|
|
|
|||
|
|
@ -134,7 +134,8 @@
|
|||
## # 'a': 5, 'b': 2, 'c': 1, 'd': 1, 'r': 2}
|
||||
##
|
||||
## The same could have been achieved by manually iterating over a container
|
||||
## and increasing each key's value with `inc proc<#inc,CountTable[A],A,Positive>`_:
|
||||
## and increasing each key's value with `inc proc
|
||||
## <#inc,CountTable[A],A,Positive>`_:
|
||||
##
|
||||
## .. code-block::
|
||||
## import tables
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue