From 6029bf7150f9564491e7119502645c0c50d9d56d Mon Sep 17 00:00:00 2001 From: yoshihiro shu <84740493+yoshihiro-shu@users.noreply.github.com> Date: Tue, 15 Oct 2024 23:10:07 +0900 Subject: [PATCH] Fix spelling of "optimize" in comment (#786) --- connect.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/connect.go b/connect.go index 615b36cc..c8dcc1c8 100644 --- a/connect.go +++ b/connect.go @@ -424,7 +424,7 @@ func receiveUnaryMessage[T any](conn receiveConn, initializer maybeInitializer, } // In a well-formed stream, the one message must be the only content in the body. // To verify that it is well-formed, try to read another message from the stream. - // TODO: optimise this second receive: ideally do it w/out allocation, w/out + // TODO: optimize this second receive: ideally do it w/out allocation, w/out // fully reading next message (if one is present), and w/out trying to // actually unmarshal the bytes) var msg2 T