Ver Fonte

Update 11.1.md (#466)

去掉多余的右括号
Sarlor há 7 anos atrás
pai
commit
e837adafa7
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      eBook/11.1.md

+ 1 - 1
eBook/11.1.md

@@ -150,7 +150,7 @@ func main() {
     Shape details:  &{5}
     Area of this shape is:  25
 
-在调用 `shapes[n].Area()) ` 这个时,只知道 `shapes[n]` 是一个 `Shaper` 对象,最后它摇身一变成为了一个 `Square` 或 `Rectangle` 对象,并且表现出了相对应的行为。
+在调用 `shapes[n].Area() ` 这个时,只知道 `shapes[n]` 是一个 `Shaper` 对象,最后它摇身一变成为了一个 `Square` 或 `Rectangle` 对象,并且表现出了相对应的行为。
 
 也许从现在开始你将看到通过接口如何产生 **更干净**、**更简单** 及 **更具有扩展性** 的代码。在 11.12.3 中将看到在开发中为类型添加新的接口是多么的容易。