Code cleanup
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
use std::io::{Write};
|
use std::io::Write;
|
||||||
|
|
||||||
use rand::Rng;
|
use rand::Rng;
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
@@ -90,7 +90,6 @@ impl Song {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// TODO: Make this available as a function
|
// TODO: Make this available as a function
|
||||||
pub fn generate_filename(&self, typ: types::MusicTypes, randomize: bool) -> String {
|
pub fn generate_filename(&self, typ: types::MusicTypes, randomize: bool) -> String {
|
||||||
let mut filename: String = String::new();
|
let mut filename: String = String::new();
|
||||||
|
Reference in New Issue
Block a user