Skip to content

Commit

Permalink
Merge pull request rust-lang#18 from killercup/feature/serde-08
Browse files Browse the repository at this point in the history
Serde 0.8
  • Loading branch information
killercup authored Sep 18, 2016
2 parents 4a6e03f + 27bbcee commit f3f2c47
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
language: rust
rust:
- nightly
- nightly-2016-09-09
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ version = "0.1.0"
clap = "2.9.2"
colored = "1.2.0"
quick-error = "1.1.0"
serde = "0.7.13"
serde_json = "0.7.4"
serde_macros = "0.7.13"
serde = "0.8"
serde_json = "0.8"
serde_macros = "0.8"
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

> **HIGHLY EXPERIMENTAL – MIGHT EAT YOUR CODE**
The goal of this tool is to read and apply the suggestions made by rustc (and third-party lints, like those offered by [Clippy][clippy]).
The goal of this tool is to read and apply the suggestions made by rustc (and third-party lints, like those offered by [clippy]).

[clippy]: https://github.com/Manishearth/rust-clippy

Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ fn collect_span(message: &str, span: &DiagnosticSpan) -> Option<Suggestion> {
column: span.column_end,
},
},
text: span.text.iter().map(|ref x| x.text.clone()).collect::<Vec<_>>().join("\n"),
text: span.text.iter().map(|x| x.text.clone()).collect::<Vec<_>>().join("\n"),
replacement: replacement,
})
} else {
Expand Down

0 comments on commit f3f2c47

Please sign in to comment.