Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The goal is for this book to become the best learning resource possible.
The [original Little Book of Rust Macros](https://github.com/DanielKeep/tlborm) has helped me immensely with understanding ***Macros by Example*** style macros while I was still learning the language.
Unfortunately, the original book hasn't been updated since April of 2016, while the Rust language as well as its macro-system keeps evolving.
Which is why I took up the task to update the book and keep it updated as well as I can while also adding newfound things to it.
In hopes that it will help out all the fresh faces coming to Rust understanding its macro systems, a part of the language a people tend to have trouble with.
In hopes that it will help out all the fresh faces coming to Rust understanding its macro systems, a part of the language a lot of people tend to have trouble with.

> This book expects you to have basic knowledge of Rust, it will not explain language features or constructs that are irrelevant to macros.
> No prior knowledge of macros is assumed.
Expand Down
2 changes: 1 addition & 1 deletion src/syntax-extensions/source-analysis.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ trees; more specifically, they are *leaves*. There is one other kind of thing th
tree leaf, but we will come back to that later.

The only basic tokens that are *not* leaves are the "grouping" tokens: `(...)`, `[...]`, and `{...}`.
These three are the *interior nodes* of token trees, and what give them their structure. To give a
These three are the *interior nodes* of token trees, and what gives them their structure. To give a
concrete example, this sequence of tokens:

```text
Expand Down