diff --git a/idea/resources/META-INF/plugin-common.xml b/idea/resources/META-INF/plugin-common.xml index a3079454a76..6be3813dd30 100644 --- a/idea/resources/META-INF/plugin-common.xml +++ b/idea/resources/META-INF/plugin-common.xml @@ -2234,7 +2234,7 @@ /> -This inspection detects a redundant let when it includes only one call with lambda parameter. +This inspection detects a redundant argument-based let call. diff --git a/idea/resources/inspectionDescriptions/SimpleRedundantLet.html b/idea/resources/inspectionDescriptions/SimpleRedundantLet.html index 3a4e562eec8..d141fd83d98 100644 --- a/idea/resources/inspectionDescriptions/SimpleRedundantLet.html +++ b/idea/resources/inspectionDescriptions/SimpleRedundantLet.html @@ -1,5 +1,5 @@ -This inspection detects a redundant let when it includes only one call with lambda parameter as receiver. +This inspection detects a redundant receiver-based let call. diff --git a/idea/src/org/jetbrains/kotlin/idea/inspections/RedundantLetInspection.kt b/idea/src/org/jetbrains/kotlin/idea/inspections/RedundantLetInspection.kt index db8fefd7a31..5335f9aca2c 100644 --- a/idea/src/org/jetbrains/kotlin/idea/inspections/RedundantLetInspection.kt +++ b/idea/src/org/jetbrains/kotlin/idea/inspections/RedundantLetInspection.kt @@ -41,7 +41,7 @@ abstract class RedundantLetInspection : AbstractApplicabilityBasedInspection