Skip to content

Commit 9b167d6

Browse files
committed
address clippy on windows
1 parent 3d3eed9 commit 9b167d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/os/windows/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ impl<T> Symbol<T> {
303303

304304
/// Convert the loaded `Symbol` into a raw pointer.
305305
pub fn as_raw_ptr(self) -> *mut raw::c_void {
306-
return self.pointer
306+
self.pointer
307307
.map(|raw| raw as *mut raw::c_void)
308308
.unwrap_or(std::ptr::null_mut())
309309
}

0 commit comments

Comments
 (0)