]> git.lizzy.rs Git - rust.git/commit
auto merge of #8679 : singingboyo/rust/json-to-impl, r=alexcrichton
authorbors <bors@rust-lang.org>
Sat, 24 Aug 2013 10:31:25 +0000 (03:31 -0700)
committerbors <bors@rust-lang.org>
Sat, 24 Aug 2013 10:31:25 +0000 (03:31 -0700)
commit424e8f0fd55b94a45ebe112dc77312e3fab1ebfe
treecb56ed2b6d6122c93b72888ea508e9661693fe0b
parentbb9c71fe82005d2d85f459988d9986f7c817717e
parent3b9e2efd64c7683a4fd8dd9126cc0473dc2201af
auto merge of #8679 : singingboyo/rust/json-to-impl, r=alexcrichton

to_str, to_pretty_str, to_writer, and to_pretty_writer were at the top
level of extra::json, this moves them into an impl for Json to match
with what's been done for the rest of libextra and libstd.  (or at least for vec and str)

Also meant changing some tests.

Closes #8676.
src/libextra/test.rs