@@ -152,7 +152,7 @@ Now that you've got your file open, type this in:
152
152
153
153
```
154
154
fn main() {
155
- println!("Hello, world");
155
+ println!("Hello, world! ");
156
156
}
157
157
```
158
158
@@ -161,7 +161,7 @@ Save the file, and then type this into your terminal window:
161
161
``` {bash}
162
162
$ rustc hello_world.rs
163
163
$ ./hello_world # or hello_world.exe on Windows
164
- Hello, world
164
+ Hello, world!
165
165
```
166
166
167
167
Success! Let's go over what just happened in detail.
@@ -187,7 +187,7 @@ declaration, with one space in between.
187
187
Next up is this line:
188
188
189
189
```
190
- println!("Hello, world");
190
+ println!("Hello, world! ");
191
191
```
192
192
193
193
This line does all of the work in our little program. There are a number of
@@ -205,7 +205,7 @@ to mention: Rust's macros are significantly different than C macros, if you've
205
205
used those. Don't be scared of using macros. We'll get to the details
206
206
eventually, you'll just have to trust us for now.
207
207
208
- Next, ` "Hello, world" ` is a ** string** . Strings are a surprisingly complicated
208
+ Next, ` "Hello, world! " ` is a ** string** . Strings are a surprisingly complicated
209
209
topic in a systems programming language, and this is a ** statically allocated**
210
210
string. We will talk more about different kinds of allocation later. We pass
211
211
this string as an argument to ` println! ` , which prints the string to the
0 commit comments