Skip to content

Commit a464ee3

Browse files
committed
Remove 'in Rust' in proc macros
1 parent 3b3cc8f commit a464ee3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/procedural-macros.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ Procedural macros currently come in one of three flavors:
99

1010
Procedural macros allow you to run code at compile time that operates over Rust
1111
syntax, both consuming and producing Rust syntax. You can sort of think of
12-
procedural macros as Rust functions from an AST to another AST.
12+
procedural macros as functions from an AST to another AST.
1313

1414
### Crates and procedural macros
1515

16-
All procedural macros in Rust are compiled as a crate. Procedural macro crates
16+
All procedural macros are compiled as a crate. Procedural macro crates
1717
are defined with Cargo via the `proc-macro` key in your manfiest:
1818

1919
```toml
@@ -60,7 +60,7 @@ In the 2018 edition, however, this statement will not be necessary.
6060

6161
One aspect you may notice about the `proc_macro` crate is that it doesn't
6262
contain any AST items! Instead, it primarily contains a `TokenStream` type.
63-
Procedural macros in Rust operate over *token streams* instead of AST nodes,
63+
Procedural macros operate over *token streams* instead of AST nodes,
6464
which is a far more stable interface over time for both the compiler and for
6565
procedural macros to target.
6666

0 commit comments

Comments
 (0)