git.lucas.co / go_mono
git clone https://git.lucas.co/go_mono.git

commit0057a939a541e6068d04ccf947c61a708378101d
parent9e190ae4a3
authorcuishuang <[email protected]>
date2024-04-16 17:56
tiff: fix function name in comment

Change-Id: I33d53b519cd495e5b576ad5a3d142abb215a8b1e
Reviewed-on: https://go-review.googlesource.com/c/image/+/579176
Reviewed-by: qiu laidongfeng2 <[email protected]>
Auto-Submit: Ian Lance Taylor <[email protected]>
TryBot-Result: Gopher Robot <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>
Reviewed-by: Ian Lance Taylor <[email protected]>
Run-TryBot: shuang cui <[email protected]>
Reviewed-by: Cherry Mui <[email protected]>

 tiff/reader.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tiff/reader.go b/tiff/reader.go
index f31569b..0ad1552 100644
--- a/tiff/reader.go
+++ b/tiff/reader.go
@@ -40,7 +40,7 @@ var errNoPixels = FormatError("not enough pixel data")
 
 const maxChunkSize = 10 << 20 // 10M
 
-// safeReadtAt is a verbatim copy of internal/saferio.ReadDataAt from the
+// safeReadAt is a verbatim copy of internal/saferio.ReadDataAt from the
 // standard library, which is used to read data from a reader using a length
 // provided by untrusted data, without allocating the entire slice ahead of time
 // if it is large (>maxChunkSize). This allows us to avoid allocating giant