aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/asn1
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@golang.org>2016-12-08 22:15:40 +0000
committerBrad Fitzpatrick <bradfitz@golang.org>2016-12-08 23:22:37 +0000
commit4c4201f0e2c1faf1d1480ac72737acadedb37e6e (patch)
treeecc5820902484c18c3a5fddd56b17cd26f0a1640 /src/encoding/asn1
parent51a75a01f89ee7c85e2fef6b71d7245de49a3483 (diff)
downloadgo-4c4201f0e2c1faf1d1480ac72737acadedb37e6e.tar.gz
go-4c4201f0e2c1faf1d1480ac72737acadedb37e6e.zip
all: make spelling consistent
Fixes #17938 Change-Id: Iad12155f4976846bd4a9a53869f89e40e5b3deb3 Reviewed-on: https://go-review.googlesource.com/34147 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
Diffstat (limited to 'src/encoding/asn1')
-rw-r--r--src/encoding/asn1/marshal.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/encoding/asn1/marshal.go b/src/encoding/asn1/marshal.go
index 76d0b0c825..225fd0849c 100644
--- a/src/encoding/asn1/marshal.go
+++ b/src/encoding/asn1/marshal.go
@@ -535,7 +535,7 @@ func makeField(v reflect.Value, params fieldParameters) (e encoder, err error) {
// If no default value is given then the zero value for the type is
// assumed to be the default value. This isn't obviously the correct
- // behaviour, but it's what Go has traditionally done.
+ // behavior, but it's what Go has traditionally done.
if params.optional && params.defaultValue == nil {
if reflect.DeepEqual(v.Interface(), reflect.Zero(v.Type()).Interface()) {
return bytesEncoder(nil), nil