Skip to content

Commit 6415c78

Browse files
authored
Merge pull request #15 from tz70s/master
fixed up typo - thanks to @tz70s
2 parents ca28cae + 95c1bea commit 6415c78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

20-typespecs-behaviors.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ Elixir提供了许多有用的内建类型,而且也方便创建自定义类
4444
方法是在定义的时候,加上`@type`指令。
4545

4646
比如我们有个模块叫做`LuosyCalculator`,可以执行常见的算术计算(如求和、计算乘积等)。
47-
但是,它的函数不是返回结果数值,而是返回一个元祖
48-
该元祖第一个元素是计算结果,第二个是随机的文字记号。
47+
但是,它的函数不是返回结果数值,而是返回一个元組
48+
该元組第一个元素是计算结果,第二个是随机的文字记号。
4949

5050
```elixir
5151
defmodule LousyCalculator do

0 commit comments

Comments
 (0)