diff options
author | Aleksey Kladov <[email protected]> | 2019-01-31 10:49:57 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-01-31 20:23:30 +0000 |
commit | 09a8d753512ac878224455a148ad66d0f14a20da (patch) | |
tree | f38784e9410f19c4c12f7a9df2779292750cc9eb /crates/ra_macros/src/mbe_expander.rs | |
parent | 2d88207853a38fa3f73c03ef1f9d5a1b8ce9924a (diff) |
expand boilerplate
Diffstat (limited to 'crates/ra_macros/src/mbe_expander.rs')
-rw-r--r-- | crates/ra_macros/src/mbe_expander.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crates/ra_macros/src/mbe_expander.rs b/crates/ra_macros/src/mbe_expander.rs new file mode 100644 index 000000000..426229659 --- /dev/null +++ b/crates/ra_macros/src/mbe_expander.rs | |||
@@ -0,0 +1,5 @@ | |||
1 | use crate::{mbe, tt}; | ||
2 | |||
3 | pub fn exapnd(rules: &mbe::MacroRules, input: tt::Subtree) -> Option<tt::Subtree> { | ||
4 | Some(input) | ||
5 | } | ||