mirror of
https://gitee.com/openharmony/third_party_rust_serde
synced 2024-11-27 17:12:08 +00:00
Fix misprint in the error message
This commit is contained in:
parent
2b504099e4
commit
e6d2322e68
@ -1034,7 +1034,7 @@ where
|
||||
let value = self.value.take();
|
||||
// Panic because this indicates a bug in the program rather than an
|
||||
// expected failure.
|
||||
let value = value.expect("MapAccess::visit_value called before visit_key");
|
||||
let value = value.expect("MapAccess::next_value called before next_key");
|
||||
seed.deserialize(value.into_deserializer())
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user