提交 00ae6484 编写于 作者: S Steve Klabnik

staticly -> statically

What's funny about this one is that spellcheck caught it, but for
some reason didn't give me the right suggestion, so I assumed that it
wasn't in my dictionary. Oh well.

Thanks @P1start! 
上级 8fd69c40
......@@ -201,11 +201,11 @@ would look like this: `println()`. For our purposes, we don't need to worry
about this difference. Just know that sometimes, you'll see a `!`, and that
means that you're calling a macro instead of a normal function.
Next, `"Hello, world"` is a **string**. Strings are a surprisingly
complicated topic in a systems programming language, and this is a **staticly
allocated** string. We will talk more about different kinds of allocation
later. We pass this string as an argument to `println!`, which prints the
string to the screen. Easy enough!
Next, `"Hello, world"` is a **string**. Strings are a surprisingly complicated
topic in a systems programming language, and this is a **statically allocated**
string. We will talk more about different kinds of allocation later. We pass
this string as an argument to `println!`, which prints the string to the
screen. Easy enough!
Finally, the line ends with a semicolon (`;`). Rust is an **expression
oriented** language, which means that most things are expressions. The `;` is
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册