]> git.lizzy.rs Git - rust.git/commitdiff
Update README.md for `clippy_toplevel_ref_arg`.
authorJonathan Castello <twisolar@gmail.com>
Thu, 25 Dec 2014 02:37:50 +0000 (18:37 -0800)
committerJonathan Castello <twisolar@gmail.com>
Thu, 25 Dec 2014 02:37:50 +0000 (18:37 -0800)
README.md

index 91caaeba41a9e622620a737ac67648e67f8827b7..3d5e366f56dbc15abe25d231ffdc39128dea610e 100644 (file)
--- a/README.md
+++ b/README.md
@@ -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!