Typo
All checks were successful
Cargo CI / Build and Test (pull_request) Successful in 1m2s
Cargo CI / Lint (pull_request) Successful in 46s

This commit is contained in:
Wojciech Kozlowski 2024-02-10 20:18:57 +01:00
parent 0d8736a93e
commit b47d9831d2

View File

@ -151,7 +151,7 @@ mod tests {
#[test]
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();
object.insert(Some(String::from("artist")), String::from("string"));
let serde_err = serde_json::to_string(&object);