mirror of https://github.com/aya-rs/aya
Replace matches with assert_matches
The matches crate has been archived now that `matches!` is in std.
However `assert_matches!` is still unstable in std, and the
assert_matches crate provides a more expressive form:
```
assert_matches!(foo, Ok(bar) => {
assert_eq!(bar, baz);
});
```
pull/656/head
parent
b875f83f22
commit
961f45da37
Loading…
Reference in New Issue