From f4a21a2269db3b5b8090effe8c9f5e7fd283f89f Mon Sep 17 00:00:00 2001 From: hacknode Date: Tue, 22 Nov 2016 15:21:34 +0800 Subject: [PATCH] Update ch7-03.md --- ch7/ch7-03.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ch7/ch7-03.md b/ch7/ch7-03.md index b263235..4e49dc5 100644 --- a/ch7/ch7-03.md +++ b/ch7/ch7-03.md @@ -41,7 +41,7 @@ var s IntSet var _ = s.String() // OK: s is a variable and &s has a String method ``` -然而,由于只有`*IntSet`类型有String方法,所有也只有`*IntSet`类型实现了fmt.Stringer接口: +然而,由于只有`*IntSet`类型有String方法,所以也只有`*IntSet`类型实现了fmt.Stringer接口: ```go var _ fmt.Stringer = &s // OK