Skip to content

Commit 0b37815

Browse files
gdk4-win32: Fix clippy warnings
1 parent 70a1d15 commit 0b37815

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

gdk4-win32/src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ pub use windows;
1515
mod rt;
1616

1717
#[allow(clippy::upper_case_acronyms)]
18+
#[allow(unused_imports)]
1819
mod auto;
1920

2021
pub mod prelude;

gdk4-win32/src/win32_display.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ impl Win32Display {
3838
) -> i32 {
3939
let f: &F = &*(box_ as *const F);
4040
f(
41-
&from_glib_borrow(display as *mut ffi::GdkWin32Display),
41+
&from_glib_borrow(display),
4242
&mut *(msg as *mut MSG),
4343
&mut *return_value,
4444
)

0 commit comments

Comments
 (0)