mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 14:20:04 -04:00
#![allow(clippy::float_cmp)] everywhere
it has always been an annoyance, never a help
This commit is contained in:
@@ -55,6 +55,7 @@
|
||||
nonstandard_style,
|
||||
rust_2018_idioms
|
||||
)]
|
||||
#![allow(clippy::float_cmp)]
|
||||
#![allow(clippy::manual_range_contains)]
|
||||
|
||||
mod apps;
|
||||
|
||||
@@ -335,8 +335,6 @@ impl BackendPanel {
|
||||
ui: &mut egui::Ui,
|
||||
info: &epi::IntegrationInfo,
|
||||
) -> Option<f32> {
|
||||
#![allow(clippy::float_cmp)]
|
||||
|
||||
self.pixels_per_point = self
|
||||
.pixels_per_point
|
||||
.or(info.native_pixels_per_point)
|
||||
|
||||
Reference in New Issue
Block a user