mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 07:04:49 +00:00
expand boilerplate
This commit is contained in:
parent
2d88207853
commit
09a8d75351
3 changed files with 10 additions and 1 deletions
5
crates/ra_macros/src/mbe_expander.rs
Normal file
5
crates/ra_macros/src/mbe_expander.rs
Normal file
|
@ -0,0 +1,5 @@
|
|||
use crate::{mbe, tt};
|
||||
|
||||
pub fn exapnd(rules: &mbe::MacroRules, input: tt::Subtree) -> Option<tt::Subtree> {
|
||||
Some(input)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue