about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2017-02-18 18:10:11 +0100
committerGitHub <noreply@github.com>2017-02-18 18:10:11 +0100
commite49f76f72e6ecf62c1efe69f721ce5ab8e2d00e5 (patch)
treec57e84721a24ae4b9653818de6193d34a36e8948
parent8f2fc9db15d41285619138900c6f65686bd32a2a (diff)
parent36b00cf217f354b9169cc5c529642bfd958295a2 (diff)
downloadrust-e49f76f72e6ecf62c1efe69f721ce5ab8e2d00e5.tar.gz
rust-e49f76f72e6ecf62c1efe69f721ce5ab8e2d00e5.zip
Rollup merge of #39847 - CBenoit:patch-1, r=frewsxcv
Correct a typo in procedural macros chapter of the Book.

A simple and short correction for procedural macros chapter of the Rust Programming Language Book.
-rw-r--r--src/doc/book/src/procedural-macros.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/book/src/procedural-macros.md b/src/doc/book/src/procedural-macros.md
index 6c4700f9305..079324d56d1 100644
--- a/src/doc/book/src/procedural-macros.md
+++ b/src/doc/book/src/procedural-macros.md
@@ -169,7 +169,7 @@ So this is where quotes comes in. The `ast` argument is a struct that gives us
 a representation of our type (which can be either a `struct` or an `enum`).
 Check out the [docs](https://docs.rs/syn/0.10.5/syn/struct.MacroInput.html),
 there is some useful information there. We are able to get the name of the
-type using `ast.ident`. The `quote!` macro let's us write up the Rust code
+type using `ast.ident`. The `quote!` macro lets us write up the Rust code
 that we wish to return and convert it into `Tokens`. `quote!` let's us use some
 really cool templating mechanics; we simply write `#name` and `quote!` will
 replace it with the variable named `name`. You can even do some repetition