From 2f610f3eb779df138a4280c070417d96b2aef861 Mon Sep 17 00:00:00 2001
From: Ohad Ravid <ohad.rv@gmail.com>
Date: Wed, 4 Dec 2024 12:31:56 +0200
Subject: [PATCH] Fix clippy warnings, bump version

---
 Cargo.toml          | 2 +-
 src/lib.rs          | 1 +
 src/notification.rs | 1 -
 3 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Cargo.toml b/Cargo.toml
index b2e2d77..fa1be13 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "wmi"
-version = "0.14.1"
+version = "0.14.2"
 authors = ["Ohad Ravid <ohad.rv@gmail.com>"]
 edition = "2021"
 license = "MIT OR Apache-2.0"
diff --git a/src/lib.rs b/src/lib.rs
index 82b13d3..b6bb975 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -263,6 +263,7 @@
 #![allow(non_snake_case)]
 #![allow(unused_unsafe)]
 #![allow(clippy::arc_with_non_send_sync)]
+#![allow(clippy::needless_lifetimes)]
 #![cfg(windows)]
 
 pub mod connection;
diff --git a/src/notification.rs b/src/notification.rs
index a8afd29..2291a24 100644
--- a/src/notification.rs
+++ b/src/notification.rs
@@ -130,7 +130,6 @@ impl WMIConnection {
     /// filters.insert("TargetInstance".to_owned(), FilterValue::is_a::<Win32_Process>()?);
     ///
     /// let iterator = con.filtered_notification::<__InstanceCreationEvent>(&filters, Some(Duration::from_secs(1)))?;
-
     /// #   Ok(())
     /// # }
     /// ```