Skip to content

Commit 4a2d277

Browse files
committed
Fix typo in syntax.md
1 parent 61b6045 commit 4a2d277

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/tutorial/syntax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ allows you to omit the parentheses around the condition in `if`,
1515
`while`, and similar constructs. This will save you two characters
1616
every time. As a bonus, you no longer have to spend any mental energy
1717
on deciding whether you need to add braces or not, or on adding them
18-
after the fact when a adding a statement to an `if` branch.
18+
after the fact when adding a statement to an `if` branch.
1919

2020
Accounting for these differences, the surface syntax of Rust
2121
statements and expressions is C-like. Function calls are written

0 commit comments

Comments
 (0)