Skip to content

Commit 2cfb6fd

Browse files
benluodongxuwang
andauthored
Update _zh-cn/overviews/scala3-book/ca-context-bounds.md
Co-authored-by: Dongxu Wang <dongxu@apache.org>
1 parent f99e9e0 commit 2cfb6fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_zh-cn/overviews/scala3-book/ca-context-bounds.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def max[A](a1: A, a2: A)(using ord: Ord[A]): A =
6868
{% endtab %}
6969
{% endtabs %}
7070

71-
`max` 方法用了类 `Ord[A]` 的上下文参数, 就像 `maxElement` 方法
71+
`max` 方法用了类型为 `Ord[A]` 的上下文参数, 就像 `maxElement` 方法一样
7272

7373
## 省略上下文参数
7474

0 commit comments

Comments
 (0)