Skip to content

Commit 5fe2bc9

Browse files
committed
Fix grammar in chapter on meta programming
1 parent 9948be4 commit 5fe2bc9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/meta-programming/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ macro_rules! println {
3434
To learn more about writing declarative macros, refer to the Rust reference
3535
chapter [macros by example] or [The Little Book of Rust Macros].
3636

37-
[Procedural macros] are different than declarative macros. Those accept some code
38-
as an input, operate on that code, and produce some code as an output.
37+
[Procedural macros] are different from declarative macros. Those accept some
38+
code as an input, operate on that code, and produce some code as an output.
3939

4040
Another technique used in C# for metaprogramming is reflection. Rust does not
4141
support reflection.

0 commit comments

Comments
 (0)