Skip to content

Commit

Permalink
Fix typo in AvoidReferentialEquality rule description (#4644)
Browse files Browse the repository at this point in the history
Co-authored-by: Markus Schwarz <post@markus-schwarz.net>
  • Loading branch information
marschwar and Markus Schwarz committed Mar 19, 2022
1 parent 14c0f11 commit 481b3b2
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -21,7 +21,7 @@ import org.jetbrains.kotlin.resolve.calls.callUtil.getType
/**
* Kotlin supports two types of equality: structural equality and referential equality. While there are
* use cases for both, checking for referential equality for some types (such as `String` or `List`) is
* likely not intentional and may case unexpected results.
* likely not intentional and may cause unexpected results.
*
* <noncompliant>
* val areEqual = "aString" === otherString
Expand Down

0 comments on commit 481b3b2

Please sign in to comment.