about summary refs log tree commit diff
path: root/clippy_lints/src/methods
AgeCommit message (Expand)AuthorLines
2025-08-02Extend `implicit_clone` to handle `to_string` calls (#14177)Timo-7/+5
2025-07-30Fix `iter_on_single_items` FP on function pointers and let stmts (#15013)Alejandra González-33/+36
2025-07-27fix: `unnecessary_map_or` don't add parens if the parent expr comes f… (#15...Timo-4/+10
2025-07-27fix: `unnecessary_map_or` don't add parens if the parent expr comes from a macroAda Alakbarova-4/+10
2025-07-26fix ip_constant when call wrapped in extra parens (#15339)llogiq-14/+11
2025-07-25Merge remote-tracking branch 'upstream/master' into rustupPhilipp Krones-136/+99
2025-07-24fix ip_constant when call wrapped in extra parensDan Johnson-14/+11
2025-07-19Fix `filter_map_bool_then` wrongly suggests macro definitions (#15048)Alex Macleod-4/+6
2025-07-17Improve path segment joining.Nicholas Nethercote-1/+2
2025-07-16Propose to exchange ranges only when it is safe to do so (#14432)Jason Newcomb-1/+0
2025-07-15fix: `filter_map_bool_then` wrongly showed macro definition in suggestionsyanglsh-4/+6
2025-07-14`useless_conversion`: move all the impl to the same lint pass (#15274)Samuel Tardieu-4/+0
2025-07-14`useless_conversion`: move all the impl to the same lint passJason Newcomb-4/+0
2025-07-14Fix expect_fun_call producing invalid suggestions (#15122)Samuel Tardieu-115/+61
2025-07-14expect_fun_call: only lint const fn's if they're not inside a const contextKamal Ahmad-3/+17
2025-07-14fix false negative of `expect_used` (#15253)Jason Newcomb-1/+1
2025-07-13Lint: Improve manual_is_variant_and to support equality comparisonKrishna Ketan Rai-1/+12
2025-07-12fix false negative of `expect_used`relaxcn-1/+1
2025-07-10or_fun_call: lint method calls inside map_or first arg (#15074)llogiq-9/+17
2025-07-10Merge commit 'cdbbf3afda0b1bf51568b368f629b1d828507f98' into clippy-subtree-u...Philipp Krones-58/+198
2025-07-10Merge remote-tracking branch 'upstream/master' into rustupPhilipp Krones-59/+200
2025-07-09Fix `manual_is_variant_and` condition generation (#15206)Timo-33/+135
2025-07-09Do not remove method call if type is adjusted (#15181)Jason Newcomb-1/+2
2025-07-06Fix `manual_is_variant_and` condition generationSamuel Tardieu-33/+135
2025-07-06also lint method calls inside map_or first argklensy-9/+17
2025-07-06or_fun_call: also lint `and` method for Option/Result (#15073)llogiq-1/+3
2025-07-06Properly check that an expression might be the one returned (#15115)llogiq-8/+21
2025-06-30Do not remove method call if type is adjustedSamuel Tardieu-1/+2
2025-06-30Introduce `ByteSymbol`.Nicholas Nethercote-1/+1
2025-06-29Consider deref'ed argument as non-temporarySamuel Tardieu-15/+37
2025-06-27Merge commit 'c5dbd1de07e0407b9687619a868384d6de06253f' into clippy-subtree-u...Philipp Krones-6/+7
2025-06-26Merge remote-tracking branch 'upstream/master' into rustupPhilipp Krones-7/+9
2025-06-24Fix expect_fun_call producing invalid suggestionsKamal Ahmad-117/+49
2025-06-23Properly check that an expression might be the one returnedSamuel Tardieu-8/+21
2025-06-21or_fun_call: lint Option/Result::and(_then) tooklensy-1/+3
2025-06-20lint Option::get_or_insert and Result::map_or tooklensy-5/+6
2025-06-20clippy: replace path uses by diagnostic itemsSamuel Tardieu-3/+6
2025-06-18Restrict the cases where Clippy proposes to switch range typesSamuel Tardieu-1/+0
2025-06-16clippy: add `MetaSized` conditionsDavid Wood-0/+2
2025-06-13Merge commit '4ef75291b5dd6739212f1f61666d19d4e086690d' into clippy-subtree-u...Philipp Krones-22/+112
2025-06-08docs: make unbuffered_bytes docs more consistentnekename-1/+1
2025-06-08fix: `iter_on_single_item` FP on let stmt with type annotationyanglsh-2/+4
2025-06-08fix: `iter_on_single_items` FP on function pointersyanglsh-32/+33
2025-06-05add new lint: `ip_constant` (#14878)llogiq-0/+91
2025-06-03Use interned strings when possible, for efficiency purposesSamuel Tardieu-22/+21
2025-06-03Add new lint: `ip_consant`relaxcn-0/+91
2025-05-31Merge commit '57cbadd68ac473bc50453f6b1320a02b68115f12'Philipp Krones-10/+68
2025-05-31Merge remote-tracking branch 'upstream/master' into rustupPhilipp Krones-11/+70
2025-05-30Corrected code commentsBoot0x7c00-1/+1
2025-05-29Improve wording of `manual_contains` docsEthan Brierley-1/+1