diff options
author | Alan Somers <asomers@gmail.com> | 2022-08-14 10:12:57 -0600 |
---|---|---|
committer | Alan Somers <asomers@gmail.com> | 2022-08-14 10:12:57 -0600 |
commit | c6371db662a0b647dc9e45258393017cf27bd6c2 (patch) | |
tree | e200b2ad29f8b62163895c0ea1dd26620140718b /test | |
parent | 2cba3afa78d1eed14db72c0f5f6ab9393efb6eb1 (diff) | |
download | nix-c6371db662a0b647dc9e45258393017cf27bd6c2.zip |
Fix a new clippy lint
Diffstat (limited to 'test')
-rw-r--r-- | test/sys/test_timerfd.rs | 2 |
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()); } |