From 5a027fa53821c4b9564dd0729bf89f23735f5420 Mon Sep 17 00:00:00 2001 From: Adriel Sand Date: Sun, 16 Jun 2024 16:43:42 -0700 Subject: [PATCH] Removed unnecessary lines --- src/main.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index da664e2..dc9de7c 100755 --- a/src/main.rs +++ b/src/main.rs @@ -10,7 +10,6 @@ extern crate tokio_core; use std::env; use std::io::{self, BufRead, Read, Result}; -use std::io::Write; use std::process::{Command, Stdio}; use std::sync::atomic::{AtomicBool, Ordering}; use std::time::Duration; @@ -56,7 +55,6 @@ fn main() { .for_each(|id|{ info!("Getting track {}...", id.to_base62()); let fname = format!("{}.ogg", id.to_base62()); - let pathexists = std::path::Path::new(&fname).exists(); use std::path::Path; if !Path::new(&fname).exists() { info!("File {} already exists... Skipping...", id.to_base62());