taud: Clippy lint.

This commit is contained in:
Luther Blissett
2022-09-07 13:18:41 +02:00
parent c293a03981
commit e53f17c114

View File

@@ -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();