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 May 20, 2024
1 parent 8b03110 commit 1e3786d
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 @@ -55,7 +55,6 @@ pub(super) fn new_paused_widget_tree(
// 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 1e3786d

Please sign in to comment.