diff options
author | hlaaf <hlaaftana@users.noreply.github.com> | 2018-08-14 01:33:56 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-14 01:33:56 +0300 |
commit | ed4a267399ed6420d979b4594f60edb698229084 (patch) | |
tree | 4a4e3e928c03e48315ab2bcf3ec5104e6fd0be0e /lib/pure | |
parent | aa1cdebdc206857902081b4862dad2c2990179e8 (diff) | |
download | Nim-ed4a267399ed6420d979b4594f60edb698229084.tar.gz |
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 eb09bf4a7..641f07c43 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: |