use matches! macro when applicable

This makes clippy happy.
diff --git a/src/device/queue.rs b/src/device/queue.rs
index 91c6a85..741a8fb 100644
--- a/src/device/queue.rs
+++ b/src/device/queue.rs
@@ -466,12 +466,12 @@
     type Queueable = QBuffer<'a, D, M>;
 
     fn try_get_free_buffer(&'a self) -> Result<Self::Queueable, GetFreeBufferError> {
-        let res = self.state.buffer_info.iter().enumerate().find(|(_, s)| {
-            match *s.state.lock().unwrap() {
-                BufferState::Free => true,
-                _ => false,
-            }
-        });
+        let res = self
+            .state
+            .buffer_info
+            .iter()
+            .enumerate()
+            .find(|(_, s)| matches!(*s.state.lock().unwrap(), BufferState::Free));
 
         match res {
             None => Err(GetFreeBufferError::NoFreeBuffer),
diff --git a/src/ioctl.rs b/src/ioctl.rs
index c5b3ee6..272cf1e 100644
--- a/src/ioctl.rs
+++ b/src/ioctl.rs
@@ -91,8 +91,8 @@
 
 /// Returns whether the given queue type can handle multi-planar formats.
 fn is_multi_planar(queue: QueueType) -> bool {
-    match queue {
-        QueueType::VideoCaptureMplane | QueueType::VideoOutputMplane => true,
-        _ => false,
-    }
+    matches!(
+        queue,
+        QueueType::VideoCaptureMplane | QueueType::VideoOutputMplane
+    )
 }