Skip to content

Commit 01e21c1

Browse files
authored
Merge pull request #467 from Maxgy/master
corrected introduction to macros in macros.md
2 parents 4e301ed + 9cbcf96 commit 01e21c1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/macros.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Macros
22

3-
A number of minor features of Rust are not central enough to have their own
4-
syntax, and yet are not implementable as functions. Instead, they are given
5-
names, and invoked through a consistent syntax: `some_extension!(...)`.
3+
The functionality and syntax of Rust can be extended with custom definitons
4+
called macros. They are given names, and invoked through a consistent
5+
syntax:`some_extension!(...)`.
66

77
There are two ways to define new macros:
88

0 commit comments

Comments
 (0)