Song to_data change #62

Merged
phoenix merged 2 commits from song-to_data into song_changes 2025-10-11 19:02:02 +00:00
Showing only changes of commit a70055958a - Show all commits

View File

@@ -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();