fix clippy lint

Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
This commit is contained in:
Ashwin Naren authored and Noa committed 2025-02-17 14:15:57 -06:00
1 parent 38a6a8d984
commit 517ffed401
1 file changed
+1 -1
+1 -1
View File
@@ -98,7 +98,7 @@ mod winreg {
#[pymethod(magic)]
fn bool(&self) -> bool {
self.key().raw_handle() != core::ptr::null_mut()
!self.key().raw_handle().is_null()
}
#[pymethod(magic)]
fn enter(zelf: PyRef<Self>) -> PyRef<Self> {