fix several typos in documentation and comments (#12553)
This commit is contained in:
parent
1214960a1b
commit
34dbc5699e
29 changed files with 37 additions and 37 deletions
|
|
@ -49,7 +49,7 @@ proc satMinus(a, b: int): int {.inline.} =
|
|||
proc `+`*(a, b: Color): Color =
|
||||
## Adds two colors.
|
||||
##
|
||||
## This uses saturated artithmetic, so that each color
|
||||
## This uses saturated arithmetic, so that each color
|
||||
## component cannot overflow (255 is used as a maximum).
|
||||
##
|
||||
runnableExamples:
|
||||
|
|
@ -63,7 +63,7 @@ proc `+`*(a, b: Color): Color =
|
|||
proc `-`*(a, b: Color): Color =
|
||||
## Subtracts two colors.
|
||||
##
|
||||
## This uses saturated artithmetic, so that each color
|
||||
## This uses saturated arithmetic, so that each color
|
||||
## component cannot underflow (0 is used as a minimum).
|
||||
##
|
||||
runnableExamples:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue