libsyntax: Remove a use of deprecated Encodable from libsyntax. rs=burningtree

This commit is contained in:
Patrick Walton 2013-03-13 21:54:51 -07:00
parent 58f248d923
commit 50d99e0194

View File

@ -300,7 +300,7 @@ mod test {
use core::str;
use util::testing::*;
#[test] fn to_json_str (val: Encodable<std::json::Encoder>) -> ~str {
#[test] fn to_json_str (val: @Encodable<std::json::Encoder>) -> ~str {
do io::with_str_writer |writer| {
val.encode(~std::json::Encoder(writer));
}