Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix clippy::match_like_matches_macro warning in test
``` warning: match expression looks like `matches!` macro --> tests/barrier.rs:32:21 | 32 | assert!(match res { | _____________________^ 33 | | Err(_err) => true, 34 | | _ => false, 35 | | }); | |_____________^ help: try this: `matches!(res, Err(_err))` | = note: `#[warn(clippy::match_like_matches_macro)]` on by default = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro ```
- Loading branch information