From 701c4eeb7c24c359ad5b7230ea5ec1fa3a858d8c Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Mon, 15 Jul 2019 03:24:18 +0900 Subject: [PATCH] restorable: Fix comments --- internal/restorable/image.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/restorable/image.go b/internal/restorable/image.go index 30fab71ba..2c1008dad 100644 --- a/internal/restorable/image.go +++ b/internal/restorable/image.go @@ -143,7 +143,7 @@ func NewImage(width, height int) *Image { return i } -// NewImage creates a new image and copies the pixels of the given source image. +// NewImageFromImage creates a new image and copies the pixels of the given source image. // // The given size (width and height) doesn't have to match with the source image's size. // The image is copied at the left-upper corner of the new image.