mirror of
https://github.com/golang/go
synced 2024-11-12 07:40:23 -07:00
Fix typo in documentation.
R=r APPROVED=r DELTA=2 (1 added, 0 deleted, 1 changed) OCL=35977 CL=35977
This commit is contained in:
parent
fd74a835bc
commit
7d68093f93
@ -69,7 +69,8 @@ var pemEndOfLine = strings.Bytes("-----")
|
||||
|
||||
// Decode will find the next PEM formatted block (certificate, private key
|
||||
// etc) in the input. It returns that block and the remainder of the input. If
|
||||
// no PEM data is found, p is nil and the whole of the input is returned in // rest.
|
||||
// no PEM data is found, p is nil and the whole of the input is returned in
|
||||
// rest.
|
||||
func Decode(data []byte) (p *Block, rest []byte) {
|
||||
// pemStart begins with a newline. However, at the very beginning of
|
||||
// the byte array, we'll accept the start string without it.
|
||||
|
Loading…
Reference in New Issue
Block a user