Skip to content

Commit

Permalink
gdk4-win32: Fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
bilelmoussaoui committed Jan 20, 2024
1 parent 70a1d15 commit 0b37815
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions gdk4-win32/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ pub use windows;
mod rt;

#[allow(clippy::upper_case_acronyms)]
#[allow(unused_imports)]
mod auto;

pub mod prelude;
Expand Down
2 changes: 1 addition & 1 deletion gdk4-win32/src/win32_display.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ impl Win32Display {
) -> i32 {
let f: &F = &*(box_ as *const F);
f(
&from_glib_borrow(display as *mut ffi::GdkWin32Display),
&from_glib_borrow(display),
&mut *(msg as *mut MSG),
&mut *return_value,
)
Expand Down

0 comments on commit 0b37815

Please sign in to comment.