diff options
author | Dominik Picheta <dominikpicheta@googlemail.com> | 2018-08-14 11:21:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-14 11:21:26 +0100 |
commit | bc957ace2eb219a969c5cd035af40007b1e5d885 (patch) | |
tree | 7360213912c128a406e6155fe439f9c4eba13780 /lib/pure | |
parent | ed9fd2b63cde3b82dac26bbe9f92634cfd009884 (diff) | |
parent | ed4a267399ed6420d979b4594f60edb698229084 (diff) | |
download | Nim-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.nim | 4 |
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: |