This commit is contained in:
def
2015-02-19 13:57:31 +01:00
parent c377e6883c
commit f6c83c32f3

View File

@@ -55,7 +55,7 @@ proc `+` *(x: Rational, y: int): Rational =
result.den = x.den
proc `+` *(x: int, y: Rational): Rational =
## Add int `x` to tational `y`.
## Add int `x` to rational `y`.
result.num = x * y.den + y.num
result.den = y.den