Skip to content

Commit

Permalink
Remove warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Ciantic committed Dec 15, 2024
1 parent c8f357c commit ab90384
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/interfaces.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![allow(non_camel_case_types)]
/// Interface definitions for the Virtual Desktop API
///
/// Most of the functions are not tested or used, beware if you try to use these
Expand Down Expand Up @@ -34,7 +35,6 @@
///
/// If you read the rules carefully, ComIn is most common usecase in Rust
/// API definitions as most parameters are `In` parameters.
#[allow(non_camel_case_types)]
#[allow(non_upper_case_globals)]
use std::ffi::c_void;
use std::ops::Deref;
Expand Down
8 changes: 3 additions & 5 deletions testbin/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
use winit::{
event::{self, Event, WindowEvent},
event_loop::{ActiveEventLoop, ControlFlow, EventLoopBuilder},
platform::windows::EventLoopBuilderExtWindows,
window::{Window, WindowAttributes},
event::Event,
event_loop::{ControlFlow, EventLoopBuilder},
};
use winvd::*;

Expand Down Expand Up @@ -39,7 +37,7 @@ fn main() {
event_loop.set_control_flow(ControlFlow::Wait);

event_loop
.run(move |event, elewt| {
.run(move |event, _evtloop| {
match event {
// Main window events
// Event::WindowEvent {
Expand Down

0 comments on commit ab90384

Please sign in to comment.