all: use not_matches macro
This commit is contained in:
parent
069369e7d8
commit
5b501dab5b
5 changed files with 11 additions and 11 deletions
|
|
@ -380,7 +380,7 @@ impl IoUringData {
|
|||
to_submit -= n;
|
||||
}
|
||||
Err(e) => {
|
||||
if !matches!(e.0, c::EAGAIN | c::EBUSY | c::EINTR) {
|
||||
if not_matches!(e.0, c::EAGAIN | c::EBUSY | c::EINTR) {
|
||||
return Err(IoUringError::Enter(e));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue