mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-10 15:14:29 +00:00
Update README.md for clippy_toplevel_ref_arg
.
This commit is contained in:
parent
8770f79467
commit
a7d5048d48
1 changed files with 1 additions and 0 deletions
|
@ -10,6 +10,7 @@ Lints included in this crate:
|
|||
- `clippy_box_vec`: Warns on usage of `Box<Vec<T>>`
|
||||
- `clippy_dlist`: Warns on usage of `DList`
|
||||
- `clippy_str_to_string`: Warns on usage of `str::to_string()`
|
||||
- `clippy_toplevel_ref_arg`: Warns when a function argument is declared `ref` (i.e. `fn foo(ref x: u8)`, but not `fn foo((ref x, ref y): (u8, u8))`).
|
||||
|
||||
More to come, please [file an issue](https://github.com/Manishearth/rust-clippy/issues) if you have ideas!
|
||||
|
||||
|
|
Loading…
Reference in a new issue