diff --git a/CHANGELOG.md b/CHANGELOG.md index 48c1362ae2cd..88602147dbc1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ # Change Log All notable changes to this project will be documented in this file. +## 0.0.110 — 2017-01-20 +* Add badges and categories to `Cargo.toml` + ## 0.0.109 — 2017-01-19 * Update to *1.16.0-nightly (c07a6ae77 2017-01-17)* diff --git a/Cargo.toml b/Cargo.toml index a2797744bd91..8aac7976db9f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "clippy" -version = "0.0.109" +version = "0.0.110" authors = [ "Manish Goregaokar ", "Andre Bogus ", @@ -13,6 +13,11 @@ repository = "https://github.com/Manishearth/rust-clippy" readme = "README.md" license = "MPL-2.0" keywords = ["clippy", "lint", "plugin"] +categories = ["development-tools"] + +[badges] +travis-ci = { repository = "Manishearth/rust-clippy" } +appveyor = { repository = "Manishearth/rust-clippy" } [lib] name = "clippy" @@ -25,7 +30,7 @@ test = false [dependencies] # begin automatic update -clippy_lints = { version = "0.0.109", path = "clippy_lints" } +clippy_lints = { version = "0.0.110", path = "clippy_lints" } # end automatic update [dev-dependencies] @@ -36,6 +41,5 @@ rustc-serialize = "0.3" clippy-mini-macro-test = { version = "0.1", path = "mini-macro" } serde = "0.7" - [features] debugging = [] diff --git a/clippy_lints/Cargo.toml b/clippy_lints/Cargo.toml index 5b7a771db291..f1574c4b7961 100644 --- a/clippy_lints/Cargo.toml +++ b/clippy_lints/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "clippy_lints" # begin automatic update -version = "0.0.109" +version = "0.0.110" # end automatic update authors = [ "Manish Goregaokar ", diff --git a/clippy_lints/src/assign_ops.rs b/clippy_lints/src/assign_ops.rs index 977a1d43d403..7e6b8cf98c2c 100644 --- a/clippy_lints/src/assign_ops.rs +++ b/clippy_lints/src/assign_ops.rs @@ -97,8 +97,11 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for AssignOps { |db| if let (Some(snip_a), Some(snip_r)) = (snippet_opt(cx, assignee.span), snippet_opt(cx, rhs.span)) { db.span_suggestion(expr.span, - "replace it with", - format!("{} {}= {}", snip_a, op.node.as_str(), snip_r)); + "replace it with", + format!("{} {}= {}", + snip_a, + op.node.as_str(), + snip_r)); }); }; // lhs op= l op r @@ -178,8 +181,11 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for AssignOps { |db| if let (Some(snip_a), Some(snip_r)) = (snippet_opt(cx, assignee.span), snippet_opt(cx, rhs.span)) { db.span_suggestion(expr.span, - "replace it with", - format!("{} {}= {}", snip_a, op.node.as_str(), snip_r)); + "replace it with", + format!("{} {}= {}", + snip_a, + op.node.as_str(), + snip_r)); }); } };