-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add clippy to CI + address clippy problems (#215)
* Add clippy to CI + address clippy problems This commit 1. adds `cargo clippy` to .travis.yml 2. addresses clippy concerns and clarifies places where they should be ignored. * Add clippy component in travis CI * Fix from_str errors caused by a clippy fix The issue was that the from_str implementation on Value was moved to the FromStr trait as recommended by Clippy. This caused many of the tests to fail since now the FromStr trait must be in scope. Instead of bringing FromStr into scope everywhere, however, the `Value::from_str(_)` calls were replaced with `_.parse()` calls as recommended by the std lib documentation. * Format crate + rename CI targets for clarity
- Loading branch information
Showing
7 changed files
with
56 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters