Typo
This commit is contained in:
parent
0d8736a93e
commit
b47d9831d2
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user