From 3754bcf378fec51db2ed459d05c5b800b235287d Mon Sep 17 00:00:00 2001 From: Shuanglei Tao Date: Fri, 5 Dec 2014 14:09:47 +0800 Subject: [PATCH] fix typo --- eBook/05.2.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eBook/05.2.md b/eBook/05.2.md index 2cb7681..87faadd 100644 --- a/eBook/05.2.md +++ b/eBook/05.2.md @@ -100,7 +100,7 @@ Example 5.3 [string_conversion2.go](examples/chapter_5/string_conversion2.go) **注意事项** -如果您想下面一样,没有为多返回值的函数准备足够的变量来存放结果: +如果您像下面一样,没有为多返回值的函数准备足够的变量来存放结果: func mySqrt(f float64) (v float64, ok bool) { if f < 0 { return } // error case @@ -138,4 +138,4 @@ Example 5.3 [string_conversion2.go](examples/chapter_5/string_conversion2.go) - [目录](directory.md) - 上一节:[if-else 结构](05.1.md) -- 下一节:[switch 结构](05.3.md) \ No newline at end of file +- 下一节:[switch 结构](05.3.md)