summary refs log tree commit diff stats
path: root/lib/pure
diff options
context:
space:
mode:
authorDominik Picheta <dominikpicheta@googlemail.com>2018-08-14 11:21:26 +0100
committerGitHub <noreply@github.com>2018-08-14 11:21:26 +0100
commitbc957ace2eb219a969c5cd035af40007b1e5d885 (patch)
tree7360213912c128a406e6155fe439f9c4eba13780 /lib/pure
parented9fd2b63cde3b82dac26bbe9f92634cfd009884 (diff)
parented4a267399ed6420d979b4594f60edb698229084 (diff)
downloadNim-bc957ace2eb219a969c5cd035af40007b1e5d885.tar.gz
Merge pull request #8628 from hlaaftana/patch-1
Small documentation typo in math
Diffstat (limited to 'lib/pure')
-rw-r--r--lib/pure/math.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure/math.nim b/lib/pure/math.nim
index 785d4c183..79f287651 100644
--- a/lib/pure/math.nim
+++ b/lib/pure/math.nim
@@ -529,8 +529,8 @@ proc sgn*[T: SomeNumber](x: T): int {.inline.} =
 {.pop.}
 
 proc `^`*[T](x: T, y: Natural): T =
-  ## Computes ``x`` to the power ``y`. ``x`` must be non-negative, use
-  ## `pow <#pow,float,float>` for negative exponents.
+  ## Computes ``x`` to the power ``y``. ``x`` must be non-negative, use
+  ## `pow <#pow,float,float>`_ for negative exponents.
   when compiles(y >= T(0)):
     assert y >= T(0)
   else: