Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6415c78

Browse files
authored
Merge pull request#15 from tz70s/master
fixed up typo - thanks to@tz70s
2 parentsca28cae +95c1bea commit6415c78

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
defmoduleLousyCalculatordo

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp