Skip to content

Commit 107b2e5

Browse files
committed
tutorial: It doesn't matter that Rust identifiers are the same as C
1 parent 36e2c10 commit 107b2e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/tutorial.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ programmer error). For occasions where unused variables are intentional, their
238238
name may be prefixed with an underscore to silence the warning, like `let
239239
_monster_size = 50;`.
240240

241-
Rust identifiers follow the same rules as C; they start with an alphabetic
241+
Rust identifiers start with an alphabetic
242242
character or an underscore, and after that may contain any sequence of
243243
alphabetic characters, numbers, or underscores. The preferred style is to
244244
begin function, variable, and module names with a lowercase letter, using

0 commit comments

Comments
 (0)