1
Fork 0

Fix some formatting issues

This commit is contained in:
flip1995 2018-11-27 21:49:09 +01:00
parent 1751d2496d
commit 63fa5d24e1
No known key found for this signature in database
GPG key ID: E8E897A5870E41C2
14 changed files with 120 additions and 139 deletions

View file

@ -27,10 +27,9 @@ use crate::utils::span_lint;
/// my_vec.push(&mut value)
/// ```
declare_clippy_lint! {
pub UNNECESSARY_MUT_PASSED,
style,
"an argument passed as a mutable reference although the callee only demands an \
immutable reference"
pub UNNECESSARY_MUT_PASSED,
style,
"an argument passed as a mutable reference although the callee only demands an immutable reference"
}
#[derive(Copy, Clone)]