about summary refs log tree commit diff
path: root/src/libsyntax/ext
diff options
context:
space:
mode:
authorAleksey Kladov <aleksey.kladov@gmail.com>2019-09-22 20:36:35 +0300
committerAleksey Kladov <aleksey.kladov@gmail.com>2019-09-22 20:36:35 +0300
commit636b3543c27e1eba301605afd2143fc96fd14431 (patch)
treed12322ad5917ad9e89654174def21202be484e33 /src/libsyntax/ext
parente30c5166db72f9f1ceccc355df25b49df826df02 (diff)
docstring for mbe module
Diffstat (limited to 'src/libsyntax/ext')
-rw-r--r--src/libsyntax/ext/mbe.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libsyntax/ext/mbe.rs b/src/libsyntax/ext/mbe.rs
index b77b59fea70..78d96f471fa 100644
--- a/src/libsyntax/ext/mbe.rs
+++ b/src/libsyntax/ext/mbe.rs
@@ -1,3 +1,8 @@
+//! This module implements declarative macros: old `macro_rules` and the newer
+//! `macro`. Declarative macros are also known as "macro by example", and that's
+//! why we call this module `mbe`. For external documentation, prefer the
+//! official terminology: "declarative macros".
+
 crate mod transcribe;
 crate mod macro_check;
 crate mod macro_parser;