mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-25 06:57:56 +00:00
Update to rust HEAD
This commit is contained in:
@@ -67,7 +67,7 @@ impl fmt::Debug for Value {
|
||||
|
||||
pub fn to_value<T>(value: &T) -> Value where T: ser::Serialize {
|
||||
let mut writer = Writer::new();
|
||||
writer.visit(value).unwrap();
|
||||
writer.visit(value).ok().unwrap();
|
||||
writer.unwrap()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user