Skip to content

Commit c8d9b0d

Browse files
committed
Slightly reformulate comment
I may be wrong but I don't think that "nor it" is grammatically correct.
1 parent 5728b19 commit c8d9b0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/typer/Implicits.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ object Implicits {
7373

7474
private var SingletonClass: ClassSymbol = null
7575

76-
/** Widen type so that it is neither a singleton type nor it inherits from scala.Singleton. */
76+
/** Widen type so that it is neither a singleton type nor a type that inherits from scala.Singleton. */
7777
private def widenSingleton(tp: Type)(implicit ctx: Context): Type = {
7878
if (SingletonClass == null) SingletonClass = defn.SingletonClass
7979
val wtp = tp.widenSingleton

0 commit comments

Comments
 (0)