From 00ae6484960ec598370810c821bfdf4593453b37 Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Thu, 26 Jun 2014 15:34:15 -0400 Subject: [PATCH] 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! :heart: --- src/doc/guide.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/doc/guide.md b/src/doc/guide.md index 91fd6253024..8a2f0d0ab2f 100644 --- a/src/doc/guide.md +++ b/src/doc/guide.md @@ -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