diff options
| author | Corey Farwell <coreyf@rwell.org> | 2017-02-28 08:33:08 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-02-28 08:33:08 -0500 |
| commit | da703a810b8d081de27617e0086548d34c24e985 (patch) | |
| tree | f165ef34f0e6723eaece49f3da757e78e7873929 /src | |
| parent | 6ac7bf5c675f0fec7660e7fbf25e159021c91d7d (diff) | |
| parent | e998666a776dc73bd7c1c2ca7edde8ece48dfd36 (diff) | |
Rollup merge of #40124 - koba-e964:patch-1, r=steveklabnik
Remove unnecessary "for"
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/book/src/procedural-macros.md | 2 |
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 4f5a6a7c033..e02b5a6cdd7 100644 --- a/src/doc/book/src/procedural-macros.md +++ b/src/doc/book/src/procedural-macros.md @@ -128,7 +128,7 @@ pub fn hello_world(input: TokenStream) -> TokenStream { So there is a lot going on here. We have introduced two new crates: [`syn`] and [`quote`]. As you may have noticed, `input: TokenSteam` is immediately converted to a `String`. This `String` is a string representation of the Rust code for which -we are deriving `HelloWorld` for. At the moment, the only thing you can do with a +we are deriving `HelloWorld`. At the moment, the only thing you can do with a `TokenStream` is convert it to a string. A richer API will exist in the future. So what we really need is to be able to _parse_ Rust code into something |
