Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 517ffed

Browse filesBrowse files
arihant2mathcoolreader18
authored andcommitted
fix clippy lint
Signed-off-by: Ashwin Naren <arihant2math@gmail.com>
1 parent 38a6a8d commit 517ffed
Copy full SHA for 517ffed

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎vm/src/stdlib/winreg.rs

Copy file name to clipboardExpand all lines: vm/src/stdlib/winreg.rs
+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ mod winreg {
9898

9999
#[pymethod(magic)]
100100
fn bool(&self) -> bool {
101-
self.key().raw_handle() != core::ptr::null_mut()
101+
!self.key().raw_handle().is_null()
102102
}
103103
#[pymethod(magic)]
104104
fn enter(zelf: PyRef<Self>) -> PyRef<Self> {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.