1
Fork 0

extra::json: add documentation and examples

This commit is contained in:
musitdev 2014-01-19 09:39:07 +01:00
parent 1a8a901f86
commit 339946cf2f

View file

@ -306,7 +306,7 @@ impl<'a> Encoder<'a> {
let mut encoder = Encoder::new(&mut m as &mut io::Writer);
to_encode_object.encode(&mut encoder);
}
m.inner()
m.unwrap()
}
/// Encode the specified struct into a json str