From 2735f4eddcf4bf3804c7538c1224b26c1ea59e16 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Wed, 17 Jul 2019 02:42:26 +0900 Subject: [PATCH] restorable: Fix comments --- internal/restorable/image.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/internal/restorable/image.go b/internal/restorable/image.go index 76947ae06..958eebd1b 100644 --- a/internal/restorable/image.go +++ b/internal/restorable/image.go @@ -305,8 +305,6 @@ func (i *Image) ClearPixels(x, y, width, height int) { } // ReplacePixels replaces the image pixels with the given pixels slice. -// -// If pixels is nil, ReplacePixels clears the specified reagion. func (i *Image) ReplacePixels(pixels []byte, x, y, width, height int) { if pixels == nil { panic("restorable: pixels must not be nil")