1
Fork 0

remove unwrap_or! macro

This commit is contained in:
klensy 2021-10-08 19:32:16 +03:00
parent 44995f7afb
commit 77fce75ba1
3 changed files with 8 additions and 17 deletions

View file

@ -20,16 +20,6 @@
#[macro_use]
extern crate rustc_macros;
#[macro_export]
macro_rules! unwrap_or {
($opt:expr, $default:expr) => {
match $opt {
Some(x) => x,
None => $default,
}
};
}
pub mod util {
pub mod classify;
pub mod comments;