提交 18bed22e 编写于 作者: N Nicolas Silva

Fix a code formatting issue in json.rs

上级 cd3b54a3
......@@ -2854,7 +2854,8 @@ enum DecodeEnum {
A(f64),
B(~str)
}
fn check_err<T: Decodable<Decoder, DecoderError>>(to_parse: &'static str, expected: DecoderError) {
fn check_err<T: Decodable<Decoder, DecoderError>>(to_parse: &'static str,
expected: DecoderError) {
let res: DecodeResult<T> = match from_str(to_parse) {
Err(e) => Err(ParseError(e)),
Ok(json) => Decodable::decode(&mut Decoder::new(json))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册