Skip to content

Commit 2f615dc

Browse files
committed
tutorial: Editing
1 parent e4b3915 commit 2f615dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/tutorial.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,12 +241,12 @@ _monster_size = 50;`.
241241
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
244-
begin function, variable, and module names with a lowercase letter, using
244+
write function, variable, and module names with lowercase letters, using
245245
underscores where they help readability, while writing types in camel case.
246246

247247
~~~
248248
let my_variable = 100;
249-
type MyType = int; // some built-in types are _not_ camel case
249+
type MyType = int; // primitive types are _not_ camel case
250250
~~~
251251

252252
## Expressions and semicolons

0 commit comments

Comments
 (0)