From 9cc550f3dbd7c85194a58fd6858507db3e2962a9 Mon Sep 17 00:00:00 2001 From: Jes Cok Date: Tue, 30 Jan 2024 23:12:28 +0800 Subject: [PATCH] re --- src/cmd/link/internal/ld/xcoff.go | 2 +- src/encoding/gob/decode.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cmd/link/internal/ld/xcoff.go b/src/cmd/link/internal/ld/xcoff.go index 898d902696..d915ab393b 100644 --- a/src/cmd/link/internal/ld/xcoff.go +++ b/src/cmd/link/internal/ld/xcoff.go @@ -143,7 +143,7 @@ const ( SSUBTYP_DWLINE = 0x20000 // DWARF line-number section SSUBTYP_DWPBNMS = 0x30000 // DWARF public names section SSUBTYP_DWPBTYP = 0x40000 // DWARF public types section - SSUBTYP_DWARNGE = 0x50000 // DWARF arranges section + SSUBTYP_DWARNGE = 0x50000 // DWARF aranges section SSUBTYP_DWABREV = 0x60000 // DWARF abbreviation section SSUBTYP_DWSTR = 0x70000 // DWARF strings section SSUBTYP_DWRNGES = 0x80000 // DWARF ranges section diff --git a/src/encoding/gob/decode.go b/src/encoding/gob/decode.go index 5a56353e87..d178b2b2fb 100644 --- a/src/encoding/gob/decode.go +++ b/src/encoding/gob/decode.go @@ -718,7 +718,7 @@ func (dec *Decoder) decodeInterface(ityp reflect.Type, state *decoderState, valu error_(dec.err) } // Assign the concrete value to the interface. - // Treat carefully; it might not satisfy the interface. + // Tread carefully; it might not satisfy the interface. if !typ.AssignableTo(ityp) { errorf("%s is not assignable to type %s", typ, ityp) }