Skip to content

Commit

Permalink
Rollup merge of #40124 - koba-e964:patch-1, r=steveklabnik
Browse files Browse the repository at this point in the history
Remove unnecessary "for"
  • Loading branch information
frewsxcv authored Feb 28, 2017
2 parents 46691a5 + e998666 commit 3d86647
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/book/src/procedural-macros.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3d86647

Please sign in to comment.