From 4412571900cbfd182a35f22a78ddf2bfc22a7e28 Mon Sep 17 00:00:00 2001 From: Hunter Wittenborn Date: Fri, 13 Oct 2023 01:41:19 -0500 Subject: [PATCH] Remove some nightly features --- src/login/gdrive.rs | 10 +++++++++- src/main.rs | 6 +----- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/login/gdrive.rs b/src/login/gdrive.rs index bf9ef213..65888e31 100644 --- a/src/login/gdrive.rs +++ b/src/login/gdrive.rs @@ -197,7 +197,15 @@ impl GDriveConfig { .launch() ); if let AuthType::GDrive = auth_type { - Command::new("xdg-open").arg("http://localhost:8000").spawn().unwrap().wait().unwrap().exit_ok().unwrap(); + Command::new("xdg-open") + .arg("http://localhost:8000") + .spawn() + .unwrap() + .wait() + .unwrap() + .success() + .then_some(()) + .unwrap() } // Wait for input from the user. diff --git a/src/main.rs b/src/main.rs index 127f649f..1aba9373 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,9 +1,5 @@ #![feature(let_chains)] -#![feature(arc_unwrap_or_clone)] -#![feature(panic_info_message)] -#![feature(async_closure)] -#![feature(trait_alias)] -#![feature(exit_status_error)] +//#![feature(exit_status_error)] pub mod about; pub mod entities;