diff options
| author | Aleksei Latyshev <alex_700_95@mail.ru> | 2020-04-25 23:33:11 +0300 |
|---|---|---|
| committer | Aleksei Latyshev <alex_700_95@mail.ru> | 2020-05-17 12:17:03 +0300 |
| commit | 07f1edf2d43efa0ef53e5b6c56c895bc9738ab94 (patch) | |
| tree | 5aca01abf7bd0e347521acb71630d65ee65ca09e /src | |
| parent | cb7f9679a63075b3fce2fdc69f7b02fe0f482464 (diff) | |
| download | rust-07f1edf2d43efa0ef53e5b6c56c895bc9738ab94.tar.gz rust-07f1edf2d43efa0ef53e5b6c56c895bc9738ab94.zip | |
improve and generalize `option_and_then_some` lint
- rename it to bind_instead_of_map
Diffstat (limited to 'src')
| -rw-r--r-- | src/lintlist/mod.rs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/lintlist/mod.rs b/src/lintlist/mod.rs index e5e3bf453a0..5b4e2906b5f 100644 --- a/src/lintlist/mod.rs +++ b/src/lintlist/mod.rs @@ -67,6 +67,13 @@ pub static ref ALL_LINTS: Vec<Lint> = vec