mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 21:30:03 -04:00
Enforce rust_2018_idioms in all libs
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
#![forbid(unsafe_code)]
|
||||
#![cfg_attr(not(debug_assertions), deny(warnings))] // Forbid warnings in release builds
|
||||
#![warn(clippy::all)]
|
||||
#![warn(clippy::all, rust_2018_idioms)]
|
||||
#![allow(clippy::single_match)]
|
||||
|
||||
mod backend;
|
||||
@@ -42,7 +42,7 @@ impl GliumInputState {
|
||||
}
|
||||
|
||||
pub fn input_to_egui(
|
||||
event: glutin::event::WindowEvent,
|
||||
event: glutin::event::WindowEvent<'_>,
|
||||
clipboard: Option<&mut ClipboardContext>,
|
||||
input_state: &mut GliumInputState,
|
||||
control_flow: &mut ControlFlow,
|
||||
|
||||
Reference in New Issue
Block a user