removed unused use statements
This commit is contained in:
@@ -1,8 +1,4 @@
|
|||||||
use std::{
|
use std::{env, path::Path, process};
|
||||||
env, fs, io,
|
|
||||||
path::{Path, PathBuf},
|
|
||||||
process,
|
|
||||||
};
|
|
||||||
|
|
||||||
use crate::structs::{Library, Shelf};
|
use crate::structs::{Library, Shelf};
|
||||||
use crate::utils::save_library;
|
use crate::utils::save_library;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
use crate::structs::{Library, Shelf};
|
use crate::structs::{Library, Shelf};
|
||||||
use std::{env, fs, io, io::Read, path::Path};
|
use std::{fs, io, path::Path};
|
||||||
use xdg::BaseDirectories;
|
use xdg::BaseDirectories;
|
||||||
|
|
||||||
pub fn get_shelf_index(shelves: &Vec<Shelf>, id: &u8) -> Option<usize> {
|
pub fn get_shelf_index(shelves: &Vec<Shelf>, id: &u8) -> Option<usize> {
|
||||||
|
|||||||
Reference in New Issue
Block a user