From ed4a267399ed6420d979b4594f60edb698229084 Mon Sep 17 00:00:00 2001 From: hlaaf Date: Tue, 14 Aug 2018 01:33:56 +0300 Subject: [PATCH] Small documentation typo in math --- lib/pure/math.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pure/math.nim b/lib/pure/math.nim index eb09bf4a7e1e..641f07c430cd 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: