Skip to content

Commit 94cc6d4

Browse files
committed
Bump clippy to latest nightly
1 parent 566c7be commit 94cc6d4

File tree

6 files changed

+13
-12
lines changed

6 files changed

+13
-12
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ matrix:
5151
- cargo build
5252
- cargo test
5353
- npm test
54-
- rust: nightly-2017-09-20
54+
- rust: nightly-2017-10-22
5555
env: CLIPPY=YESPLEASE
5656
script:
5757
- cargo check --features "lint"

Cargo.lock

Lines changed: 7 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ diesel_full_text_search = "0.16.0"
5252
serde_json = "1.0.0"
5353
serde_derive = "1.0.0"
5454
serde = "1.0.0"
55-
clippy = { version = "=0.0.162", optional = true }
55+
clippy = { version = "=0.0.166", optional = true }
5656
chrono = { version = "0.4.0", features = ["serde"] }
5757
comrak = { version = "0.2.3", default-features = false }
5858
ammonia = { git = "https://github.com/notriddle/ammonia" }

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! This crate implements the backend server for https://crates.io/
1+
//! This crate implements the backend server for <https://crates.io/>
22
//!
33
//! All implemented routes are defined in the [middleware](fn.middleware.html) function and
44
//! implemented in the [category](category/index.html), [keyword](keyword/index.html),

src/user/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ impl User {
243243
/// This route will return an authorization URL for the GitHub OAuth flow including the crates.io
244244
/// `client_id` and a randomly generated `state` secret.
245245
///
246-
/// see https://developer.github.com/v3/oauth/#redirect-users-to-request-github-access
246+
/// see <https://developer.github.com/v3/oauth/#redirect-users-to-request-github-access>
247247
///
248248
/// ## Response Body Example
249249
///
@@ -279,7 +279,7 @@ pub fn github_authorize(req: &mut Request) -> CargoResult<Response> {
279279
/// to exchange the temporary `code` for an API token. The API token is returned together with
280280
/// the corresponding user information.
281281
///
282-
/// see https://developer.github.com/v3/oauth/#github-redirects-back-to-your-site
282+
/// see <https://developer.github.com/v3/oauth/#github-redirects-back-to-your-site>
283283
///
284284
/// ## Query Parameters
285285
///

src/util/errors.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ pub fn human<S: ToString + ?Sized>(error: &S) -> Box<CargoError> {
336336

337337
/// This is intended to be used for errors being sent back to the Ember
338338
/// frontend, not to cargo as cargo does not handle non-200 response codes well
339-
/// (see https://github.com/rust-lang/cargo/issues/3995), but Ember requires
339+
/// (see <https://github.com/rust-lang/cargo/issues/3995>), but Ember requires
340340
/// non-200 response codes for its stores to work properly.
341341
///
342342
/// Since this is going back to the UI these errors are treated the same as

0 commit comments

Comments
 (0)