Skip to content

Commit a6bbcc3

Browse files
committed
Added Eq to traits on Error, updated README
1 parent 47a2943 commit a6bbcc3

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "json"
3-
version = "0.11.1"
3+
version = "0.11.2"
44
authors = ["Maciej Hirsz <maciej.hirsz@gmail.com>"]
55
description = "JSON implementation in Rust"
66
repository = "https://github.com/maciejhirsz/json-rust"

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
# json-rust
44

5-
![](https://travis-ci.org/maciejhirsz/json-rust.svg)
6-
![](https://img.shields.io/crates/v/json.svg)
7-
![](https://img.shields.io/crates/l/json.svg)
5+
[![Travis shield](https://travis-ci.org/maciejhirsz/json-rust.svg)](https://travis-ci.org/maciejhirsz/json-rust)
6+
[![Crates.io version shield](https://img.shields.io/crates/v/json.svg)](https://crates.io/crates/json)
7+
[![Crates.io license shield](https://img.shields.io/crates/l/json.svg)](https://crates.io/crates/json)
88

99
Parse and serialize [JSON](http://json.org/) with ease.
1010

src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
use std::{ char, error, fmt };
22

3-
#[derive(Debug, PartialEq)]
43
/// Error type of this crate.
54
///
65
///
76
/// *Note:* Since `0.9.0` using `JsonError` is deprecated. Always use
87
/// `json::Error` instead!
8+
#[derive(Debug, PartialEq, Eq)]
99
pub enum Error {
1010
UnexpectedCharacter {
1111
ch: char,

0 commit comments

Comments
 (0)