Skip to content

Commit 018c28f

Browse files
cuishuanggopherbot
authored andcommitted
all: fix some comments
Change-Id: Ia0410f1f3bb0a9ee68c6dbe1e6f62f65f9e00955 Reviewed-on: https://go-review.googlesource.com/c/crypto/+/477755 Reviewed-by: Ian Lance Taylor <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]> Reviewed-by: Roland Shoemaker <[email protected]> Auto-Submit: Roland Shoemaker <[email protected]> Run-TryBot: shuang cui <[email protected]> Run-TryBot: Ian Lance Taylor <[email protected]> TryBot-Result: Gopher Robot <[email protected]>
1 parent 9cd0187 commit 018c28f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

openpgp/packet/compressed.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ func (c *Compressed) parse(r io.Reader) error {
6060
return err
6161
}
6262

63-
// compressedWriterCloser represents the serialized compression stream
63+
// compressedWriteCloser represents the serialized compression stream
6464
// header and the compressor. Its Close() method ensures that both the
6565
// compressor and serialized stream header are closed. Its Write()
6666
// method writes to the compressor.

ssh/agent/server.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020
"golang.org/x/crypto/ssh"
2121
)
2222

23-
// Server wraps an Agent and uses it to implement the agent side of
23+
// server wraps an Agent and uses it to implement the agent side of
2424
// the SSH-agent, wire protocol.
2525
type server struct {
2626
agent Agent

ssh/connection.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ func (c *connection) Close() error {
9797
return c.sshConn.conn.Close()
9898
}
9999

100-
// sshconn provides net.Conn metadata, but disallows direct reads and
100+
// sshConn provides net.Conn metadata, but disallows direct reads and
101101
// writes.
102102
type sshConn struct {
103103
conn net.Conn

0 commit comments

Comments
 (0)