A few rst doc fixes (#17151)
* Fix a couple of rst formatting issues * no need for the extra space
This commit is contained in:
parent
ce7caec4b3
commit
4e619a6bea
2 changed files with 2 additions and 2 deletions
|
|
@ -2205,7 +2205,7 @@ func escape*(s: string, prefix = "\"", suffix = "\""): string {.rtl,
|
||||||
##
|
##
|
||||||
## See also:
|
## See also:
|
||||||
## * `unescape func<#unescape,string,string,string>`_ for the opposite
|
## * `unescape func<#unescape,string,string,string>`_ for the opposite
|
||||||
## operation
|
## operation
|
||||||
result = newStringOfCap(s.len + s.len shr 2)
|
result = newStringOfCap(s.len + s.len shr 2)
|
||||||
result.add(prefix)
|
result.add(prefix)
|
||||||
for c in items(s):
|
for c in items(s):
|
||||||
|
|
|
||||||
|
|
@ -213,7 +213,7 @@ when hasAlloc and not defined(js):
|
||||||
## to it is undefined behaviour!
|
## to it is undefined behaviour!
|
||||||
##
|
##
|
||||||
## See also:
|
## See also:
|
||||||
## `allocShared0 <#allocShared0.t,Natural>`_.
|
## * `allocShared0 <#allocShared0.t,Natural>`_.
|
||||||
incStat(allocCount)
|
incStat(allocCount)
|
||||||
allocSharedImpl(size)
|
allocSharedImpl(size)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue