Replace double backticks with single backticks - Part 3 out of ~7 (#17207)

This commit is contained in:
Danil Yarantsev 2021-03-01 10:22:05 +03:00 • committed by GitHub
commit aef55a7a88
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 159 additions and 159 deletions

View file

@ -37,7 +37,7 @@ proc rightSize*(count: Natural): int {.inline, deprecated: "Deprecated since 1.4
## **Deprecated since Nim v1.4.0**, it is not needed anymore
## because picking the correct size is done internally.
##
## Return the value of ``initialSize`` to support ``count`` items.
## Return the value of `initialSize` to support `count` items.
##
## If more items are expected to be added, simply add that
## expected extra amount to the parameter before calling this.

View file

@ -7,7 +7,7 @@
# distribution, for details about the copyright.
#
## The ``sets`` module implements an efficient `hash set`:idx: and
## The `sets` module implements an efficient `hash set`:idx: and
## ordered hash set.
##
## Hash sets are different from the `built in set type
@ -40,7 +40,7 @@
##
##
## Note: The data types declared here have *value semantics*: This means
## that ``=`` performs a copy of the set.
## that `=` performs a copy of the set.
##
## **See also:**
## * `intsets module <intsets.html>`_ for efficient int sets
@ -113,7 +113,7 @@ proc initHashSet*[A](initialSize = defaultInitialSize): HashSet[A] =
## Wrapper around `init proc <#init,HashSet[A]>`_ for initialization of
## hash sets.
##
## Returns an empty hash set you can assign directly in ``var`` blocks in a
## Returns an empty hash set you can assign directly in `var` blocks in a
## single line.
##
## Starting from Nim v0.20, sets are initialized by default and it is
@ -130,7 +130,7 @@ proc initHashSet*[A](initialSize = defaultInitialSize): HashSet[A] =
proc `[]`*[A](s: var HashSet[A], key: A): var A =
## Returns the element that is actually stored in `s` which has the same
## value as `key` or raises the ``KeyError`` exception.
## value as `key` or raises the `KeyError` exception.
##
## This is useful when one overloaded `hash` and `==` but still needs
## reference semantics for sharing.
@ -652,7 +652,7 @@ proc initOrderedSet*[A](initialSize = defaultInitialSize): OrderedSet[A] =
## Wrapper around `init proc <#init,OrderedSet[A]>`_ for initialization of
## ordered hash sets.
##
## Returns an empty ordered hash set you can assign directly in ``var`` blocks
## Returns an empty ordered hash set you can assign directly in `var` blocks
## in a single line.
##
## Starting from Nim v0.20, sets are initialized by default and it is