diff --git a/all-is-cubes-ui/src/lib.rs b/all-is-cubes-ui/src/lib.rs index 454f6926d..ca3e45449 100644 --- a/all-is-cubes-ui/src/lib.rs +++ b/all-is-cubes-ui/src/lib.rs @@ -1,3 +1,4 @@ +#![feature(min_exhaustive_patterns)] #![feature(never_type)] #![feature(noop_waker)] diff --git a/all-is-cubes-ui/src/ui_content/pages.rs b/all-is-cubes-ui/src/ui_content/pages.rs index c033eec22..14f441448 100644 --- a/all-is-cubes-ui/src/ui_content/pages.rs +++ b/all-is-cubes-ui/src/ui_content/pages.rs @@ -52,7 +52,6 @@ pub(super) fn new_paused_page( // TODO: quit_fn should be an async function, but we don't have a way to // kick off a “Quitting...” task yet. move || match quit_fn() { - Ok(s) => match s {}, Err(_cancelled) => { // TODO: display message indicating failure