From 9628c555ad3bce13aadf1a9282b1a54e40547f79 Mon Sep 17 00:00:00 2001 From: chai2010 Date: Fri, 26 Feb 2016 17:12:49 +0800 Subject: [PATCH] fix code https://github.com/golang-china/gopl-zh/issues/2 --- ch6/ch6-05.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ch6/ch6-05.md b/ch6/ch6-05.md index 83a24b2..cbe7bcc 100644 --- a/ch6/ch6-05.md +++ b/ch6/ch6-05.md @@ -57,7 +57,7 @@ func (s *IntSet) String() string { if buf.Len() > len("{") { buf.WriteByte('}') } - fmt.Fprintf(&buf, "%d", 64*i+j)"}")}} + fmt.Fprintf(&buf, "%d", 64*i+j) } } }