Auto merge of #5070 - Eh2406:clippy, r=alexcrichton
authorbors <bors@rust-lang.org>
Tue, 27 Feb 2018 04:44:41 +0000 (04:44 +0000)
committerbors <bors@rust-lang.org>
Tue, 27 Feb 2018 04:44:41 +0000 (04:44 +0000)
commit33619183846bcbd764e7db88ebcc11b5268c84ee
tree0c5ed65e37b75797e35cf21ed642826d315ba5a0
parent83afa6e716133139b494295dc48aff4f863b42cc
parent1ef675ef6e28a2d7e5c686b08890ddd8276da7f5
Auto merge of #5070 - Eh2406:clippy, r=alexcrichton

Some Clippy suggestions

This is just some suggestions from Clippy and intellij rust.

Clippy still has a lot to say, but this is some of the simple things.
src/bin/doc.rs
src/cargo/lib.rs
src/cargo/sources/git/utils.rs
src/cargo/sources/registry/remote.rs