rustfmt
This commit is contained in:
@@ -17,7 +17,6 @@ impl IcarusAction {
|
||||
}
|
||||
|
||||
// TODO: Implement
|
||||
pub fn print_action_and_flags(&self) {
|
||||
}
|
||||
pub fn print_action_and_flags(&self) {}
|
||||
}
|
||||
// }
|
||||
|
||||
+1
-1
@@ -4,4 +4,4 @@ pub mod icarus_action;
|
||||
pub mod song;
|
||||
pub mod token;
|
||||
pub mod upload_form;
|
||||
pub mod user;
|
||||
pub mod user;
|
||||
|
||||
+2
-4
@@ -22,8 +22,7 @@ pub struct Song {
|
||||
|
||||
impl Song {
|
||||
// TODO: Implement
|
||||
pub fn print_info(&self) {
|
||||
}
|
||||
pub fn print_info(&self) {}
|
||||
|
||||
// TODO: Implement
|
||||
pub fn song_path(&self) -> String {
|
||||
@@ -41,11 +40,10 @@ impl Song {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#[derive(Debug, Deserialize, Serialize)]
|
||||
pub struct CoverArt {
|
||||
pub id: i32,
|
||||
pub title: String,
|
||||
pub path: String,
|
||||
}
|
||||
// }
|
||||
// }
|
||||
|
||||
@@ -7,4 +7,4 @@ pub struct UploadForm {
|
||||
pub url: String,
|
||||
pub filepath: String,
|
||||
}
|
||||
// }
|
||||
// }
|
||||
|
||||
+7
-7
@@ -1,9 +1,9 @@
|
||||
// mod models {
|
||||
use serde::{Deserialize, Serialize};
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
#[derive(Debug, Deserialize, Serialize)]
|
||||
pub struct User {
|
||||
pub username: String,
|
||||
pub password: String,
|
||||
}
|
||||
// }
|
||||
#[derive(Debug, Deserialize, Serialize)]
|
||||
pub struct User {
|
||||
pub username: String,
|
||||
pub password: String,
|
||||
}
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user