macro_rules! trie_unwrap {
($option:expr) => { ... };
}
Expand description
A macro that takes an Option
argument and either unwraps it if it has a value or
causes the function to return TrieResult::NoMatch
if there is no value.
This could perhaps be done with std::ops::Try
once stabilized.