From: bors Date: Wed, 7 Feb 2018 02:06:13 +0000 (+0000) Subject: Auto merge of #5018 - brotzeit:clippy, r=alexcrichton X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~3^2~9 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6d9fd1ceac93df985645774c67e574f8911f5343;p=cargo.git Auto merge of #5018 - brotzeit:clippy, r=alexcrichton apply clippy suggestions I want to try if this actually works =) There are many other clippy suggestions. I wonder if I can take them for granted or if some of them would be refused. For example: ``` warning: Constants have by default a `'static` lifetime --> src/cargo/lib.rs:53:23 | 53 | pub const CARGO_ENV: &'static str = "CARGO"; | -^^^^^^^---- help: consider removing `'static`: `&str` | = note: #[warn(const_static_lifetime)] on by default = help: for further information visit https://rust-lang-nursery.github.io/rust-clippy/v0.0.185/index.html#const_static_lifetime ``` --- 6d9fd1ceac93df985645774c67e574f8911f5343