File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -200,7 +200,10 @@ The second point is the `println!()` part. This is calling a Rust **macro**,
200200which is how metaprogramming is done in Rust. If it were a function instead, it
201201would look like this: ` println() ` . For our purposes, we don't need to worry
202202about this difference. Just know that sometimes, you'll see a ` ! ` , and that
203- means that you're calling a macro instead of a normal function.
203+ means that you're calling a macro instead of a normal function. One last thing
204+ to mention: Rust's macros are significantly different than C++ templates, if
205+ you've used those. Don't be scared of using macros. We'll get to the details
206+ eventually, you'll just have to trust us for now.
204207
205208Next, ` "Hello, world" ` is a ** string** . Strings are a surprisingly complicated
206209topic in a systems programming language, and this is a ** statically allocated**
You can’t perform that action at this time.
0 commit comments