about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2014-06-26 16:58:20 -0400
committerSteve Klabnik <steve@steveklabnik.com>2014-06-26 16:58:20 -0400
commite4b87077fb91fe676a2a977cd7e4d1e93e519fec (patch)
treebdf434299c22ca9e5dabd2d77baff6e4de728b0a
parent15bcb2f9c6232472b391638af780b3d1a91a4584 (diff)
C macros, not C++ templates.
@cmr rightfully points out that C macros are worse, and share the
same name.
-rw-r--r--src/doc/guide.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/guide.md b/src/doc/guide.md
index f33398b1a4e..92e054b55a1 100644
--- a/src/doc/guide.md
+++ b/src/doc/guide.md
@@ -201,8 +201,8 @@ which is how metaprogramming is done in Rust. If it were a function instead, it
 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. One last thing
-to mention: Rust's macros are significantly different than C++ templates, if
-you've used those. Don't be scared of using macros. We'll get to the details
+to mention: Rust's macros are significantly different than C macros, if you've
+used those. Don't be scared of using macros. We'll get to the details
 eventually, you'll just have to trust us for now.
 
 Next, `"Hello, world"` is a **string**. Strings are a surprisingly complicated