Skip to content

Commit 36f1dd4

Browse files
显示 -> 显式
Hello, I am a chinese. We usually use “显式” instead of “显示” when we want to express the word "explicitly". “显示” in chinese means something like "display" or "show" I tried with google translate (https://translate.google.cn/?sl=en&tl=zh-CN&text=explicitly&op=translate)
1 parent 28047b8 commit 36f1dd4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_zh-cn/tour/basics.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ println(x) // 2
5858
x = 3 // This does not compile.
5959
```
6060

61-
常量(`values`)的类型可以被推断,或者你也可以显示地声明类型,例如:
61+
常量(`values`)的类型可以被推断,或者你也可以显式地声明类型,例如:
6262

6363
```scala mdoc:nest
6464
val x: Int = 1 + 1
@@ -76,7 +76,7 @@ x = 3 // This compiles because "x" is declared with the "var" keyword.
7676
println(x * x) // 9
7777
```
7878

79-
和常量一样,你可以显示地声明类型
79+
和常量一样,你可以显式地声明类型
8080

8181
```scala mdoc:nest
8282
var x: Int = 1 + 1

0 commit comments

Comments
 (0)