desktop: Change return type of `App::run` to `!`
The never type is already stable for function return types.
This commit is contained in:
parent
7a591b885c
commit
8ad8122b68
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue