fix(all): various typos (#10242)

This commit is contained in:
Ross Smith II
2025-08-12 20:05:10 +02:00
committed by GitHub
parent fcf4916086
commit bbf48ae334
23 changed files with 28 additions and 28 deletions
+1 -1
View File
@@ -933,7 +933,7 @@ func (c *rawConnection) shouldCompressMessage(msg proto.Message) bool {
}
}
// Close is called when the connection is regularely closed and thus the Close
// Close is called when the connection is regularly closed and thus the Close
// BEP message is sent before terminating the actual connection. The error
// argument specifies the reason for closing the connection.
func (c *rawConnection) Close(err error) {
+1 -1
View File
@@ -289,7 +289,7 @@ func TestWriteCompressed(t *testing.T) {
msg := (&Response{Data: make([]byte, 10240)}).toWire()
if random {
// This should make the message uncompressible.
// This should make the message incompressible.
rand.Read(msg.Data)
}