mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-10 15:04:59 +00:00
Fix typo
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user