From da1e754ec3f328745e9fe3ab4f8ab1aeec7c5c7a Mon Sep 17 00:00:00 2001 From: lov3b Date: Sun, 5 Mar 2023 12:14:34 +0100 Subject: [PATCH] Remove unneeded imports --- src/config.rs | 5 ++--- src/main.rs | 3 +-- src/playlist.rs | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/config.rs b/src/config.rs index 7334cda..2f7b8b0 100644 --- a/src/config.rs +++ b/src/config.rs @@ -11,9 +11,8 @@ use serde::{Deserialize, Serialize}; use serde_json; use crate::{ - download_with_progress, get_mut_ref, m3u8::DataEntry, Readline, APP_IDENTIFIER, - JSON_CONFIG_FILENAME, STANDARD_OFFLINE_FILENAME, STANDARD_PLAYLIST_FILENAME, - STANDARD_SEEN_LINKS_FILENAME, + get_mut_ref, m3u8::DataEntry, Readline, APP_IDENTIFIER, JSON_CONFIG_FILENAME, + STANDARD_OFFLINE_FILENAME, STANDARD_PLAYLIST_FILENAME, STANDARD_SEEN_LINKS_FILENAME, }; #[derive(Serialize, Deserialize, Debug)] diff --git a/src/main.rs b/src/main.rs index 6a3aa08..a75ee09 100644 --- a/src/main.rs +++ b/src/main.rs @@ -4,8 +4,7 @@ use std::rc::Rc; use colored::Colorize; use ilovetv::{ - download_with_progress, get_mut_ref, Configuration, DataEntry, GrandMother, M3u8, Parser, - Readline, + download_with_progress, get_mut_ref, Configuration, DataEntry, GrandMother, M3u8, Readline, }; #[tokio::main] diff --git a/src/playlist.rs b/src/playlist.rs index d2ec2cd..bee4aeb 100644 --- a/src/playlist.rs +++ b/src/playlist.rs @@ -5,7 +5,7 @@ use std::{ rc::Rc, }; -use crate::{download_with_progress, downloader::DualWriter, Configuration, Parser, MAX_TRIES}; +use crate::{download_with_progress, downloader::DualWriter, MAX_TRIES}; pub struct Playlist { pub content: String,