libsyntax: Remove a use of deprecated Encodable from libsyntax. rs=burningtree
This commit is contained in:
parent
58f248d923
commit
50d99e0194
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue