diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-05-09 23:16:24 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-05-09 23:16:24 +0300 |
| commit | 9f210e973834700d14c6c0283ed750ed5b038e8b (patch) | |
| tree | cd8c75755c59fdc47bf71ca6dc34e49ab0258ae6 /tests/support | |
| parent | 3a9888cd564dc45d23a7bdd0dba29a6ff1ef48a1 (diff) | |
chore: enable clippy linting
Diffstat (limited to 'tests/support')
| -rw-r--r-- | tests/support/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/support/mod.rs b/tests/support/mod.rs index d26a2043..cc1fb67b 100644 --- a/tests/support/mod.rs +++ b/tests/support/mod.rs @@ -287,7 +287,7 @@ pub fn drain_messages(stream: &mut UnixStream) { stream .set_read_timeout(Some(Duration::from_millis(200))) .unwrap(); - while let Ok(_) = read_server_message(stream) {} + while read_server_message(stream).is_ok() {} stream.set_read_timeout(None).unwrap(); } |
