aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/gob/example_interface_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/encoding/gob/example_interface_test.go')
-rw-r--r--src/encoding/gob/example_interface_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/encoding/gob/example_interface_test.go b/src/encoding/gob/example_interface_test.go
index 4681e6307b..cf5ba38607 100644
--- a/src/encoding/gob/example_interface_test.go
+++ b/src/encoding/gob/example_interface_test.go
@@ -60,7 +60,7 @@ func interfaceEncode(enc *gob.Encoder, p Pythagoras) {
// registered. We registered it in the calling function.
// Pass pointer to interface so Encode sees (and hence sends) a value of
- // interface type. If we passed p directly it would see the concrete type instead.
+ // interface type. If we passed p directly it would see the concrete type instead.
// See the blog post, "The Laws of Reflection" for background.
err := enc.Encode(&p)
if err != nil {