]> git.lizzy.rs Git - rust.git/commitdiff
Run update_lints.py
authorOwen Sanchez <pengowen816@gmail.com>
Sun, 5 Feb 2017 03:26:08 +0000 (20:26 -0700)
committerOwen Sanchez <pengowen816@gmail.com>
Sat, 11 Feb 2017 01:12:32 +0000 (18:12 -0700)
README.md

index 3f3ed135e0cea2781a196c7e5ac06c37c9f78f38..1f6fb4ff9c0b0ffc72b066496823de1b00b994f1 100644 (file)
--- a/README.md
+++ b/README.md
@@ -256,7 +256,7 @@ name
 [iter_next_loop](https://github.com/Manishearth/rust-clippy/wiki#iter_next_loop)                                       | warn    | for-looping over `_.next()` which is probably not intended
 [iter_nth](https://github.com/Manishearth/rust-clippy/wiki#iter_nth)                                                   | warn    | using `.iter().nth()` on a standard library type with O(1) element access
 [iter_skip_next](https://github.com/Manishearth/rust-clippy/wiki#iter_skip_next)                                       | warn    | using `.skip(x).next()` on an iterator
-[large_enum_variant](https://github.com/Manishearth/rust-clippy/wiki#large_enum_variant)                               | warn    | large variants on an enum
+[large_enum_variant](https://github.com/Manishearth/rust-clippy/wiki#large_enum_variant)                               | warn    | large size difference between variants on an enum
 [len_without_is_empty](https://github.com/Manishearth/rust-clippy/wiki#len_without_is_empty)                           | warn    | traits or impls with a public `len` method but no corresponding `is_empty` method
 [len_zero](https://github.com/Manishearth/rust-clippy/wiki#len_zero)                                                   | warn    | checking `.len() == 0` or `.len() > 0` (or similar) when `.is_empty()` could be used instead
 [let_and_return](https://github.com/Manishearth/rust-clippy/wiki#let_and_return)                                       | warn    | creating a let-binding and then immediately returning it like `let x = expr; x` at the end of a block