Fix some formatting issues
This commit is contained in:
parent
1751d2496d
commit
63fa5d24e1
14 changed files with 120 additions and 139 deletions
|
@ -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)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue