desktop: Change return type of `App::run` to `!`

The never type is already stable for function return types.
This commit is contained in:
relrelb 2022-03-13 19:17:33 +02:00 committed by relrelb
parent 7a591b885c
commit 8ad8122b68
1 changed files with 1 additions and 2 deletions

View File

@ -311,8 +311,7 @@ impl App {
})
}
// TODO: Change return type to ! once it's stable.
fn run(self) {
fn run(self) -> ! {
let window = self.window;
let player = self.player;
let executor = self.executor;