Skip to content

Commit eb8e6be

Browse files
author
Ye Chen
committed
improvements according to reviews
1 parent 24787bb commit eb8e6be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_zh-cn/tour/higher-order-functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ object SalaryRaiser {
8383
}
8484
```
8585

86-
新的方法`promotion`有两个参数,薪资列表和一个`Double => Double`的函数(输入Double参数返回Double的函数),返回薪资提升的结果。
86+
新的方法`promotion`有两个参数,薪资列表和一个类型为`Double => Double`的函数(参数和返回值类型均为Double),返回薪资提升的结果。
8787

8888
## 返回函数的函数
8989

0 commit comments

Comments
 (0)