From ce8408054d00276a4a0b4e221c9c67a6f25852af Mon Sep 17 00:00:00 2001 From: faiface <faiface@ksp.sk> Date: Sun, 21 May 2017 19:33:01 +0200 Subject: [PATCH] fix typo in ToRGBA doc --- color.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/color.go b/color.go index 6b88577..918cd5a 100644 --- a/color.go +++ b/color.go @@ -75,7 +75,7 @@ func (c RGBA) RGBA() (r, g, b, a uint32) { } // ToRGBA converts a color to RGBA format. Using this function is preferred to using RGBAModel, for -// performance (using RGBAModel introduced additional unnecessary allocations). +// performance (using RGBAModel introduces additional unnecessary allocations). func ToRGBA(c color.Color) RGBA { if c, ok := c.(RGBA); ok { return c -- GitLab