Skip to content

Commit f06207b

Browse files
authored
Merge pull request #22 from dtolnay/supported
Document set of supported macros
2 parents 9f06a9e + dbfb423 commit f06207b

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

README.md

+9
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@ macro-string
99
This crate is a helper library for procedural macros to perform eager evaluation
1010
of standard library string macros like `concat!` and `env!` in macro input.
1111

12+
<table><tr><td>
13+
<b>Supported macros:</b>
14+
<code>concat!</code>,
15+
<code>env!</code>,
16+
<code>include!</code>,
17+
<code>include_str!</code>,
18+
<code>stringify!</code>
19+
</td></tr></table>
20+
1221
For example, to implement a macro such as the following:
1322

1423
```rust

src/lib.rs

+9
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,15 @@
1010
//! evaluation of standard library string macros like `concat!` and `env!` in
1111
//! macro input.
1212
//!
13+
//! <table><tr><td>
14+
//! <b>Supported macros:</b>
15+
//! <code>concat!</code>,
16+
//! <code>env!</code>,
17+
//! <code>include!</code>,
18+
//! <code>include_str!</code>,
19+
//! <code>stringify!</code>
20+
//! </td></tr></table>
21+
//!
1322
//! For example, to implement a macro such as the following:
1423
//!
1524
//! ```

0 commit comments

Comments
 (0)