about summary refs log tree commit diff
path: root/clippy_lints/src/methods
AgeCommit message (Expand)AuthorLines
2021-12-26Auto merge of #8133 - surechen:fix_8128, r=xFrednetbors-5/+27
2021-12-26Fixes #8128surechen-5/+27
2021-12-23Simplify codePiotr Mikulski-2/+2
2021-12-23RefactorPiotr Mikulski-15/+3
2021-12-23clippyPiotr Mikulski-6/+1
2021-12-23refactorPiotr Mikulski-3/+1
2021-12-23cargo dev fmtPiotr Mikulski-4/+6
2021-12-23rewrite the PRPiotr Mikulski-4/+21
2021-12-23Imrpove `unwrap_or_else_default`Piotr Mikulski-2/+3
2021-12-17Merge remote-tracking branch 'upstream/master' into rustupflip1995-18/+633
2021-12-15Expand `is_clone_like` commentSamuel E. Moelius III-0/+3
2021-12-14Address review commentsSamuel E. Moelius III-16/+12
2021-12-13Add commaSamuel E. Moelius III-1/+1
2021-12-13Fix clippy uses of QPath::LangItemEsteban Kuber-1/+1
2021-12-13Handle `to_vec` on for loop expression #8069Samuel E. Moelius III-50/+277
2021-12-13Address review commentsSamuel E. Moelius III-35/+67
2021-12-13Add `unnecessary_to_owned` lintSamuel E. Moelius III-1/+358
2021-12-06Rename remove_blocks to peel_blocksCameron Steffen-8/+8
2021-12-06Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyupflip1995-127/+375
2021-12-05fix some false negatives for single_char_patternnixx quality-1/+6
2021-12-04Auto merge of #8054 - camsteffen:map-flatten-style, r=giraffatebors-1/+1
2021-12-03Upgrade map_flatten to complexityCameron Steffen-1/+1
2021-12-02Escape backslash for singe_char_pattern.rsfrobiac-1/+7
2021-12-02Auto merge of #7463 - ThibsG:find_any_7392, r=xFrednetbors-5/+13
2021-12-02Merge remote-tracking branch 'upstream/master' into rustupflip1995-119/+348
2021-11-28Take a LocalDefId in expect_*item.Camille GILLOT-1/+1
2021-11-28apply iter_cloned_collect to copied()togami2864-4/+6
2021-11-20Move deref closure builder to `clippy_utils::sugg` moduleThibsG-253/+5
2021-11-20Fix full projection identifier + move applicability to `MaybeIncorrect`ThibsG-16/+26
2021-11-20Handle closures with type annotations on argsThibsG-64/+80
2021-11-20Rephrase the fn checking for a double ref, not only oneThibsG-9/+11
2021-11-20Add some notes about `MethodCall` casesThibsG-4/+10
2021-11-20Handle args taken by ref also for `MethodCall`ThibsG-24/+19
2021-11-20Fix suggestions when call functions involved taking by refThibsG-37/+56
2021-11-20Correct suggestion when dereferencing enough, calling a functionThibsG-2/+1
2021-11-20Handle multiple reference levels into binding type and add more testsThibsG-5/+24
2021-11-20Applying refactoring for simplified codeThibsG-25/+22
2021-11-20Handle other projection kindsThibsG-12/+68
2021-11-20Return a struct and add applicabilityThibsG-6/+19
2021-11-20Build end of suggestion only once at the end of the processThibsG-7/+9
2021-11-20Simplifying `next_pos` initThibsG-14/+6
2021-11-20Use applicability for snippetsThibsG-3/+8
2021-11-20Add some doc for `search_is_some` lintThibsG-0/+11
2021-11-20Build suggestion within visitor + add more testsThibsG-100/+102
2021-11-20Use `ExprUseVisitor` and multipart suggestion to avoid iffy `String` replacementThibsG-46/+140
2021-11-20Fix `any()` not taking reference in `search_is_some` lintThibsG-2/+20
2021-11-17Auto merge of #7971 - togami2864:fix/option-map-or-none, r=llogiqbors-50/+89
2021-11-18check whether stmts is empty or not in blocktogami2864-2/+2
2021-11-17Auto merge of #7896 - surechen:fix_manual_split_once, r=camsteffenbors-22/+162
2021-11-17fixes: #7889surechen-22/+162