Skip to content

Commit

Permalink
[unstable-rust] Use feature(min_exhaustive_patterns) for QuitFn.
Browse files Browse the repository at this point in the history
  • Loading branch information
kpreid committed Aug 6, 2024
1 parent 5ddce7b commit 2c34bd3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions all-is-cubes-ui/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![feature(min_exhaustive_patterns)]
#![feature(never_type)]
#![feature(noop_waker)]

Expand Down
1 change: 0 additions & 1 deletion all-is-cubes-ui/src/ui_content/pages.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2c34bd3

Please sign in to comment.