From 0461002b91e8271bf894ac03ab4023fa6c410c0f Mon Sep 17 00:00:00 2001 From: jprochazk <1665677+jprochazk@users.noreply.github.com> Date: Mon, 11 Sep 2023 14:51:11 +0200 Subject: [PATCH] fix lint --- crates/egui_demo_app/src/wrap_app.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/egui_demo_app/src/wrap_app.rs b/crates/egui_demo_app/src/wrap_app.rs index bef3009136b..c1a07e735be 100644 --- a/crates/egui_demo_app/src/wrap_app.rs +++ b/crates/egui_demo_app/src/wrap_app.rs @@ -164,22 +164,22 @@ pub struct WrapApp { } impl WrapApp { - pub fn new(cc: &eframe::CreationContext<'_>) -> Self { + pub fn new(_cc: &eframe::CreationContext<'_>) -> Self { #[cfg(feature = "image_viewer")] - egui_extras::loaders::install(&cc.egui_ctx); + egui_extras::loaders::install(&_cc.egui_ctx); #[allow(unused_mut)] let mut slf = Self { state: State::default(), #[cfg(any(feature = "glow", feature = "wgpu"))] - custom3d: crate::apps::Custom3d::new(cc), + custom3d: crate::apps::Custom3d::new(_cc), dropped_files: Default::default(), }; #[cfg(feature = "persistence")] - if let Some(storage) = cc.storage { + if let Some(storage) = _cc.storage { if let Some(state) = eframe::get_value(storage, eframe::APP_KEY) { slf.state = state; }