diff --git a/lib/pure/strutils.nim b/lib/pure/strutils.nim index 5d04b5300f..da1a0a59ba 100644 --- a/lib/pure/strutils.nim +++ b/lib/pure/strutils.nim @@ -2205,7 +2205,7 @@ func escape*(s: string, prefix = "\"", suffix = "\""): string {.rtl, ## ## See also: ## * `unescape func<#unescape,string,string,string>`_ for the opposite - ## operation + ## operation result = newStringOfCap(s.len + s.len shr 2) result.add(prefix) for c in items(s): diff --git a/lib/system/memalloc.nim b/lib/system/memalloc.nim index ffb5190ca2..fca1db91dd 100644 --- a/lib/system/memalloc.nim +++ b/lib/system/memalloc.nim @@ -213,7 +213,7 @@ when hasAlloc and not defined(js): ## to it is undefined behaviour! ## ## See also: - ## `allocShared0 <#allocShared0.t,Natural>`_. + ## * `allocShared0 <#allocShared0.t,Natural>`_. incStat(allocCount) allocSharedImpl(size)