Skip to content

Commit

Permalink
Fix spelling of "optimize" in comment (#786)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshihiro-shu authored Oct 15, 2024
1 parent 145b279 commit 6029bf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connect.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6029bf7

Please sign in to comment.