From 2f615dc9650a84086cce01f7799506b148161ceb Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Thu, 20 Dec 2012 13:20:02 -0800 Subject: [PATCH] tutorial: Editing --- doc/tutorial.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/tutorial.md b/doc/tutorial.md index 7af645b2b80..48ac8d261d6 100644 --- a/doc/tutorial.md +++ b/doc/tutorial.md @@ -241,12 +241,12 @@ _monster_size = 50;`. Rust identifiers start with an alphabetic character or an underscore, and after that may contain any sequence of alphabetic characters, numbers, or underscores. The preferred style is to -begin function, variable, and module names with a lowercase letter, using +write function, variable, and module names with lowercase letters, using underscores where they help readability, while writing types in camel case. ~~~ let my_variable = 100; -type MyType = int; // some built-in types are _not_ camel case +type MyType = int; // primitive types are _not_ camel case ~~~ ## Expressions and semicolons