From 051deb293f10a37670c88a1b5a744c7b050098c1 Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Sat, 30 Apr 2022 17:47:30 +0200 Subject: [PATCH] mute warning when building for wasm --- egui_demo_app/src/wrap_app.rs | 1 + 1 file changed, 1 insertion(+) 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),