Limit the information stored in the database #126

Merged
wojtek merged 8 commits from 118---limit-the-information-stored-in-the-database into main 2024-02-10 20:23:10 +01:00
Showing only changes of commit b47d9831d2 - Show all commits

View File

@ -151,7 +151,7 @@ mod tests {
#[test] #[test]
fn save_errors() { fn save_errors() {
// serde_json will raise an error as it requires keys to be a string. // serde_json will raise an error as it requires keys to be strings.
let mut object = HashMap::<Option<String>, String>::new(); let mut object = HashMap::<Option<String>, String>::new();
object.insert(Some(String::from("artist")), String::from("string")); object.insert(Some(String::from("artist")), String::from("string"));
let serde_err = serde_json::to_string(&object); let serde_err = serde_json::to_string(&object);