Fix test issue-4016.rs with the json API change
This commit is contained in:
parent
a539b0d583
commit
02c45dece4
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ extern crate serialize;
|
|||
|
||||
use serialize::{json, Decodable};
|
||||
|
||||
trait JD : Decodable<json::Decoder, json::Error> { }
|
||||
trait JD : Decodable<json::Decoder, json::DecoderError> { }
|
||||
|
||||
fn exec<T: JD>() {
|
||||
let doc = json::from_str("").unwrap();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue