aerospike-client-rust icon indicating copy to clipboard operation
aerospike-client-rust copied to clipboard

Macro rule should be replaced after updating to 1.42.0

Open jacklberk opened this issue 5 years ago • 0 comments

In tests/src/task.rs1

#[macro_export]
macro_rules! matches_override {
    ($expression:expr, $($pattern:tt)+) => {
        match $expression {
            $($pattern)+ => true,
            _ => false
        }
    }
}

Should be replaced with default match macro https://doc.rust-lang.org/beta/std/macro.matches.html

jacklberk avatar Jul 15 '20 06:07 jacklberk