1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-26 22:53:14 -04:00

Allow unnecessary mut (#584)

needed for feature persistence, but an error in release build without
explicit allow
This commit is contained in:
Linus Behrbohm
2021-08-15 16:39:26 +02:00
committed by GitHub
parent 934dc42e58
commit f4af22efb5

View File

@@ -166,6 +166,7 @@ fn load_icon(icon_data: epi::IconData) -> Option<glutin::window::Icon> {
/// Run an egui app
pub fn run(mut app: Box<dyn epi::App>, nativve_options: epi::NativeOptions) -> ! {
#[allow(unused_mut)]
let mut storage = create_storage(app.name());
#[cfg(feature = "http")]