Skip to content

Commit a62e5e6

Browse files
committed
Document Common Macros in src/doc/trpl/macros.md
1 parent d9fe335 commit a62e5e6

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/doc/trpl/macros.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,16 @@ fn main() {
357357

358358
[items]: ../reference.html#items
359359

360+
# Common Macros
361+
362+
The Rust Programming Language has a few macros that you might find useful. Some of them are:
363+
+ panic!
364+
+ unreachable!
365+
+ vec!
366+
+ unimplemented!
367+
368+
and [more](http://doc.rust-lang.org/std/index.html#macros).
369+
360370
# Further reading
361371

362372
The [advanced macros chapter][] goes into more detail about macro syntax. It

0 commit comments

Comments
 (0)