Update to rust HEAD

This commit is contained in:
Erick Tryzelaar
2015-02-10 07:50:43 -08:00
parent 4ca70c1396
commit 044825829a
3 changed files with 24 additions and 2 deletions
+1 -1
View File
@@ -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()
}