@@ -121,18 +121,16 @@ println!("Hello, world!");
121121This line does all the work in this little program: it prints text to the
122122screen. There are four important details to notice here.
123123
124- First, Rust style is to indent with four spaces, not a tab.
125-
126- Second, ` println! ` calls a Rust macro. If it had called a function instead, it
124+ First, ` println! ` calls a Rust macro. If it had called a function instead, it
127125would be entered as ` println ` (without the ` ! ` ). We’ll discuss Rust macros in
128126more detail in Chapter 20. For now, you just need to know that using a ` ! `
129127means that you’re calling a macro instead of a normal function and that macros
130128don’t always follow the same rules as functions.
131129
132- Third , you see the ` "Hello, world!" ` string. We pass this string as an argument
130+ Second , you see the ` "Hello, world!" ` string. We pass this string as an argument
133131to ` println! ` , and the string is printed to the screen.
134132
135- Fourth , we end the line with a semicolon (` ; ` ), which indicates that this
133+ Third , we end the line with a semicolon (` ; ` ), which indicates that this
136134expression is over and the next one is ready to begin. Most lines of Rust code
137135end with a semicolon.
138136
0 commit comments