Przeglądaj źródła

taud: Clippy lint.

Luther Blissett 3 lat temu
rodzic
commit
e53f17c114
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      bin/tau/taud/src/main.rs

+ 1 - 1
bin/tau/taud/src/main.rs

@@ -149,7 +149,7 @@ async fn realmain(settings: Args, executor: Arc<Executor<'_>>) -> Result<()> {
     if settings.refresh {
         println!("Removing local data in: {:?} (yes/no)? ", datastore_path);
         let mut confirm = String::new();
-        stdin().read_line(&mut confirm).ok().expect("Failed to read line");
+        stdin().read_line(&mut confirm).expect("Failed to read line");
 
         let confirm = confirm.to_lowercase();
         let confirm = confirm.trim();