organic/src/context/parser_with_context.rs

7 lines
153 B
Rust
Raw Normal View History

macro_rules! parser_with_context {
2023-04-22 01:45:38 -04:00
($target:expr) => {
move |context| move |i| $target(context, i)
};
}
2023-09-11 13:11:08 -04:00
(crate) use parser_with_context;