You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
297 B
Rust

use crate::TapeResult;
mod matchers;
pub type MatchResult<T> = TapeResult<Option<T>>;
pub use matchers::*;
#[macro_export]
macro_rules! do_match {
($matcher:expr) => {
match $matcher.await? {
Some(inner) => inner,
None => return Ok(None),
}
};
}