summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlan Somers <asomers@gmail.com>2022-08-14 10:12:57 -0600
committerAlan Somers <asomers@gmail.com>2022-08-14 10:12:57 -0600
commitc6371db662a0b647dc9e45258393017cf27bd6c2 (patch)
treee200b2ad29f8b62163895c0ea1dd26620140718b /test
parent2cba3afa78d1eed14db72c0f5f6ab9393efb6eb1 (diff)
downloadnix-c6371db662a0b647dc9e45258393017cf27bd6c2.zip
Fix a new clippy lint
Diffstat (limited to 'test')
-rw-r--r--test/sys/test_timerfd.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sys/test_timerfd.rs b/test/sys/test_timerfd.rs
index 927cc70d..08e29210 100644
--- a/test/sys/test_timerfd.rs
+++ b/test/sys/test_timerfd.rs
@@ -65,5 +65,5 @@ pub fn test_timerfd_unset() {
timer.unset().unwrap();
- assert!(timer.get().unwrap() == None);
+ assert!(timer.get().unwrap().is_none());
}