Skip to content

Commit d2f97a6

Browse files
authored
Remove preface section
1 parent ff4d731 commit d2f97a6

File tree

1 file changed

+11
-19
lines changed

1 file changed

+11
-19
lines changed

README.md

Lines changed: 11 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,24 @@ A short getting started on derive macros guide in Rust.
1414
> [!IMPORTANT]
1515
> This assumes you're familiar with Rust's declarative macros. Or at least
1616
> knowledgeable of programming language syntax and meaning of words like:
17-
> `identifier` and `expression`.
17+
> `identifier` and `expression`.[^1] [^2] [^3] [^4] [^5]
18+
19+
[^1]: <https://doc.rust-lang.org/reference/macros-by-example.html#metavariables>
20+
21+
[^2]: <https://doc.rust-lang.org/reference/items.html>
22+
23+
[^3]: <https://doc.rust-lang.org/reference/attributes.html>
24+
25+
[^4]: <https://doc.rust-lang.org/reference/statements-and-expressions.html>
26+
27+
[^5]: <https://doc.rust-lang.org/reference/names.html>
1828

1929
## Table of Contents
2030

2131
---
2232

2333
- [Derive macro example](#derive-macro-example)
2434
- [Table of Contents](#table-of-contents)
25-
- [Preface](#preface)
2635
- [What will be discussed](#what-will-be-discussed)
2736
- [Front-end, back-end and intermediate representation](#front-end-back-end-and-intermediate-representation)
2837
- [What will be done](#what-will-be-done)
@@ -33,23 +42,6 @@ A short getting started on derive macros guide in Rust.
3342

3443
---
3544

36-
## Preface
37-
38-
This assumes you're already familiar with declarative macros. Meaning you know
39-
what an Identifier and an Expression are and have written declarative macros.
40-
If you aren't familiarized with those things then you can read more about the
41-
core language syntax.[^1] [^2] [^3] [^4] [^5]
42-
43-
[^1]: <https://doc.rust-lang.org/reference/macros-by-example.html#metavariables>
44-
45-
[^2]: <https://doc.rust-lang.org/reference/items.html>
46-
47-
[^3]: <https://doc.rust-lang.org/reference/attributes.html>
48-
49-
[^4]: <https://doc.rust-lang.org/reference/statements-and-expressions.html>
50-
51-
[^5]: <https://doc.rust-lang.org/reference/names.html>
52-
5345
## What will be discussed
5446

5547
1. A quick introduction to the three main types of declarative macros[^6]:

0 commit comments

Comments
 (0)