diff --git a/egui_demo_app/src/wrap_app.rs b/egui_demo_app/src/wrap_app.rs index fc821b4c..05a692fc 100644 --- a/egui_demo_app/src/wrap_app.rs +++ b/egui_demo_app/src/wrap_app.rs @@ -96,6 +96,7 @@ pub struct WrapApp { impl WrapApp { pub fn new(cc: &eframe::CreationContext<'_>) -> Self { + #[allow(unused_mut)] let mut slf = Self { state: State::default(), custom3d: crate::apps::Custom3d::new(&cc.gl),