diff --git a/src/main.rs b/src/main.rs index 8499255..2ec7327 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,8 +1,4 @@ -use std::{ - env, fs, io, - path::{Path, PathBuf}, - process, -}; +use std::{env, path::Path, process}; use crate::structs::{Library, Shelf}; use crate::utils::save_library; diff --git a/src/utils.rs b/src/utils.rs index 862baf9..20bd3e4 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -1,5 +1,5 @@ use crate::structs::{Library, Shelf}; -use std::{env, fs, io, io::Read, path::Path}; +use std::{fs, io, path::Path}; use xdg::BaseDirectories; pub fn get_shelf_index(shelves: &Vec, id: &u8) -> Option {