Skip to content

Commit

Permalink
Fix a new clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
asomers committed Aug 14, 2022
1 parent 2cba3af commit c6371db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/sys/test_timerfd.rs
Expand Up @@ -65,5 +65,5 @@ pub fn test_timerfd_unset() {

timer.unset().unwrap();

assert!(timer.get().unwrap() == None);
assert!(timer.get().unwrap().is_none());
}

0 comments on commit c6371db

Please sign in to comment.