Skip to content

Commit 50d99e0

Browse files
committed
libsyntax: Remove a use of deprecated Encodable from libsyntax. rs=burningtree
1 parent 58f248d commit 50d99e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libsyntax/parse/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ mod test {
300300
use core::str;
301301
use util::testing::*;
302302

303-
#[test] fn to_json_str (val: Encodable<std::json::Encoder>) -> ~str {
303+
#[test] fn to_json_str (val: @Encodable<std::json::Encoder>) -> ~str {
304304
do io::with_str_writer |writer| {
305305
val.encode(~std::json::Encoder(writer));
306306
}

0 commit comments

Comments
 (0)