cleanup, sync

This commit is contained in:
2023-09-27 19:01:50 +02:00
parent 43e5d473b7
commit 6822b5eab5
11 changed files with 74 additions and 198 deletions
+8 -8
View File
@@ -6,11 +6,11 @@ pub struct Article {
pub content: String,
}
impl Article {
pub fn new(title: &str, content: &str) -> Article {
Article {
title: title.to_string(),
content: content.to_string(),
}
}
}
// impl Article {
// pub fn new(title: &str, content: &str) -> Article {
// Article {
// title: title.to_string(),
// content: content.to_string(),
// }
// }
// }