8000 Simplify wording around "var" keyword introduction · soronpo/scala.github.com@6f0becf · GitHub
[go: up one dir, main page]

Skip to content

Commit 6f0becf

Browse files
committed
Simplify wording around "var" keyword introduction
1 parent 726343a commit 6f0becf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/tour/basics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ val x = 1 + 1
3737
x += 2 // This does not compile because it is re-assigning the variable.
3838
```
3939

40-
If you need a mutable variable, you can use the `var` keyword instead.
40+
If you need to mutate variables, you can use the `var` keyword instead.
4141

4242
```
4343
var y = 1 + 1

0 commit comments

Comments
 (0)
0