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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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")]